SiteSEO provides a way to filter the post type for the Block structure metabox.
Hook: siteseo_pro_metaboxe_sdt
Since: 1.0.0
Description: Let's user filter post type.
Usage:
function siteseo_extended_metaboxe_sdt($get_post_types) {
//Post types array, eg: post and page only, notice the array_flip to convert values to keys
$get_post_types = array_flip(['post','page']);
return $get_post_types;
}
add_filter('siteseo_pro_metaboxe_sdt', 'siteseo_extended_metaboxe_sdt');
Note: We suggest you use siteseo_extended_ as a prefix for every callback function, to keep things consistent and non-conflicting.