wpseo_schema_article_sections_taxonomy хук-фильтр . Yoast 1.0
Filter: 'wpseo_schema_article_sections_taxonomy' - Allow changing the taxonomy used to assign keywords to a post type Article data.
Использование
add_filter( 'wpseo_schema_article_sections_taxonomy', 'filter_function_name_443' ); function filter_function_name_443( $taxonomy ){ // filter... return $taxonomy; }
- $taxonomy(строка)
- The chosen taxonomy.
Где вызывается хук
wpseo_schema_article_sections_taxonomy
yoast/src/generators/schema/article.php 112
$taxonomy = \apply_filters( 'wpseo_schema_article_sections_taxonomy', 'category' );