wpseo_(content_type)_filtering_taxonomy хук-фильтрYoast 1.0

Filter: 'wpseo_{$content_type}_filtering_taxonomy' - Allows overriding which taxonomy filters the content type.

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

add_filter( 'wpseo_(content_type)_filtering_taxonomy', 'wp_kama_wpseo_content_type_filtering_taxonomy_filter' );

/**
 * Function for `wpseo_(content_type)_filtering_taxonomy` filter-hook.
 * 
 * @param string $filtering_taxonomy The taxonomy that filters the content type.
 *
 * @return string
 */
function wp_kama_wpseo_content_type_filtering_taxonomy_filter( $filtering_taxonomy ){

	// filter...
	return $filtering_taxonomy;
}
$filtering_taxonomy(строка)
The taxonomy that filters the content type.

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

Taxonomies_Collector::get_custom_filtering_taxonomy()
wpseo_(content_type)_filtering_taxonomy
yoast/src/dashboard/infrastructure/taxonomies/taxonomies-collector.php 46
$filtering_taxonomy = \apply_filters( "wpseo_{$content_type}_filtering_taxonomy", '' );

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

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