Yoast\WP\SEO\Presenters
Breadcrumbs_Presenter::filter()
Filters the output.
Метод класса: Breadcrumbs_Presenter{}
Хуки из метода
Возвращает
Строку
. The filtered output.
Использование
// protected - в коде основоного (родительского) или дочернего класса $result = $this->filter( $output );
- $output(строка) (обязательный)
- The HTML output.
Код Breadcrumbs_Presenter::filter() Breadcrumbs Presenter::filter Yoast 24.1
protected function filter( $output ) { /** * Filter: 'wpseo_breadcrumb_output' - Allow changing the HTML output of the Yoast SEO breadcrumbs class. * * @param string $output The HTML output. * @param Indexable_Presentation $presentation The presentation of an indexable. */ return \apply_filters( 'wpseo_breadcrumb_output', $output, $this->presentation ); }