wpseo_bingbot
Filter: wpseo_bingbot Allows filtering of the meta bingbot output of Yoast SEO.
Использование
add_filter( 'wpseo_bingbot', 'wp_kama_wpseo_bingbot_filter', 10, 2 ); function wp_kama_wpseo_bingbot_filter( $bingbot, $presentation ){ // filter... return $bingbot; }
- $bingbot(строка)
- The meta bingbot directives to be echoed.
- $presentation(Indexable_Presentation)
- The presentation of an indexable.
Где вызывается хук
wpseo_bingbot
yoast/src/presenters/bingbot-presenter.php 64
return (string) \apply_filters( 'wpseo_bingbot', $bingbot, $this->presentation );