This patch allows to add SEMrush SEO Writing Assistant metabox in Custom Post Types edit pages.
Go to the wp-content/plugins/semrush-seo-writing-assistant/ plugin directory and type:
patch -p 0 < /path/to/saved/semrush-seo-writing-assistant-1.0.3-CPT.patch
In order to add SEMrush SEO Writing Assistant metabox to my_cpt
custom post type, add a filter
like following in your plugins or functions.php file:
add_filter( 'semrush_seo_writing_assistant_post_types', function( $post_types ) {
return array_merge( $post_types, array( 'my_cpt' ) );
} );