wpseo_article_enhance_article_body_fallback
Использование
add_filter( 'wpseo_article_enhance_article_body_fallback', 'wp_kama_wpseo_article_enhance_body_fallback_filter' );
/**
* Function for `wpseo_article_enhance_article_body_fallback` filter-hook.
*
* @param $true
*
* @return
*/
function wp_kama_wpseo_article_enhance_body_fallback_filter( $true ){
// filter...
return $true;
}
- $true
- -
Где вызывается хук
wpseo_article_enhance_article_body_fallback
yoast/src/schema-aggregator/infrastructure/enhancement/article-config.php 62
return (bool) \apply_filters( 'wpseo_article_enhance_article_body_fallback', true );