Yoast\WP\SEO\Presenters
Bingbot_Presenter::filter() private Yoast 1.0
Run the bingbot output content through the wpseo_bingbot filter.
{} Это метод класса: Bingbot_Presenter{}
Хуки из метода
Возвращает
Строку. The filtered meta bingbot output.
Использование
// private - только в коде основоного (родительского) класса $result = $this->filter( $bingbot );
- $bingbot(строка) (обязательный)
- The meta bingbot output to filter.
Код Bingbot_Presenter::filter() Bingbot Presenter::filter Yoast 15.6.2
private function filter( $bingbot ) {
/**
* Filter: 'wpseo_bingbot' - Allows filtering of the meta bingbot output of Yoast SEO.
*
* @api string $bingbot The meta bingbot directives to be echoed.
*
* @param Indexable_Presentation $presentation The presentation of an indexable.
*/
return (string) \apply_filters( 'wpseo_bingbot', $bingbot, $this->presentation );
}