Home » Filter SEO Metabox call by post type
Filter SEO Metabox call by post type

SiteSEO provides a way to filter the post type of the metabox for SEO

Hook: siteseo_metaboxe_seo

Since: 1.0.0

Description: Let's user filter post type.

Usage:

function siteseo_extended_metaboxe_seo($get_post_types) { 
	$get_post_types = array_flip(['post','page']); 
	return $get_post_types;
}
add_filter('siteseo_metaboxe_seo', 'siteseo_extended_metaboxe_seo');

Note: We suggest you use siteseo_extended_ as a prefix for every callback function, to keep things consistent and non-conflicting.

    Was this page helpful?
    Newsletter Subscription
    Subscribing you to the mailing list