Content Filtering

Please note that the following is for developers only. If you would like to customise the content that is generated by the GPT, you can use the following filter.

gpt2wp_content_post (For content)

It takes in 1 parameter, which is the content.

//example
function change_content($content){
//Your code to the tweak content 
return $content;
}
add_filter('gpt2wp_content_post','change_content')

gpt2wp_content_title (For title)

It takes in 1 parameter, which is the title.

//example
function change_title($title){
//Your code to the tweak title 
return $title;
}
add_filter('gpt2wp_content_title','change_title')