WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru Авторские Темы для WordPress
фильтр не описан

wpseo_cornerstone_post_types хук-фильтр . Yoast 1.0

Filter: 'wpseo_cornerstone_post_types' - Filters post types to exclude the cornerstone feature for.

Использование

add_filter( 'wpseo_cornerstone_post_types', 'filter_function_name_9506' );
function filter_function_name_9506( $post_types ){
	// filter...

	return $post_types;
}
$post_types(массив)
The accessible post types to filter.

Где вызывается хук

WPSEO_Cornerstone_Filter::get_post_types()
wpseo_cornerstone_post_types
WPSEO_Metabox::get_metabox_script_data()
wpseo_cornerstone_post_types
Elementor::get_metabox_script_data()
wpseo_cornerstone_post_types
yoast/admin/filters/class-cornerstone-filter.php 144
$post_types = apply_filters( 'wpseo_cornerstone_post_types', parent::get_post_types() );
yoast/admin/metabox/class-metabox.php 292
$post_types = apply_filters( 'wpseo_cornerstone_post_types', WPSEO_Post_Type::get_accessible_post_types() );
yoast/src/integrations/third-party/elementor.php 539
$post_types = \apply_filters( 'wpseo_cornerstone_post_types', YoastSEO()->helpers->post_type->get_accessible_post_types() );

Где используется хук в ядре Yoast SEO

yoast/admin/filters/class-cornerstone-filter.php 28
add_filter( 'wpseo_cornerstone_post_types', [ 'WPSEO_Post_Type', 'filter_attachment_post_type' ] );
yoast/admin/filters/class-cornerstone-filter.php 29
add_filter( 'wpseo_cornerstone_post_types', [ $this, 'filter_metabox_disabled' ] );