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

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

Filter: 'wpseo_indexable_excluded_post_types' - Allow developers to prevent posts of a certain post type from being saved to the indexable table.

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

add_filter( 'wpseo_indexable_excluded_post_types', 'filter_function_name_6719' );
function filter_function_name_6719( $excluded_post_types ){
	// filter...

	return $excluded_post_types;
}
$excluded_post_types(массив)
The currently excluded post types.

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

Post_Type_Helper::get_excluded_post_types_for_indexables()
wpseo_indexable_excluded_post_types
yoast/src/helpers/post-type-helper.php 95
$excluded_post_types = \apply_filters( 'wpseo_indexable_excluded_post_types', [] );

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

yoast/src/integrations/exclude-oembed-cache-post-type.php 18
\add_filter( 'wpseo_indexable_excluded_post_types', [ $this, 'exclude_oembed_cache_post_type' ] );
yoast/src/integrations/third-party/elementor-exclude-post-types.php 19
\add_filter( 'wpseo_indexable_excluded_post_types', [ $this, 'exclude_elementor_post_types' ] );