Filter Content Analysis Metabox call by post type

Since SEOPress 2.3

function sp_metaboxe_content_analysis($seopress_get_post_types) {
//Post types array, eg: post and page, notice the array_flip to convert values to keys
	$seopress_get_post_types = array_flip(array('post','page'));
	return $seopress_get_post_types;
}
add_filter('seopress_metaboxe_content_analysis', 'sp_metaboxe_content_analysis');

Last modified: August 5, 2018