WPSEO_Breadcrumbs::render()
Renders the breadcrumbs.
Метод класса: WPSEO_Breadcrumbs{}
Хуки из метода
Возвращает
Строку
. The rendered breadcrumbs.
Использование
// private - только в коде основоного (родительского) класса $result = $this->render();
Код WPSEO_Breadcrumbs::render() WPSEO Breadcrumbs::render Yoast 23.4
private function render() { $presenter = new Breadcrumbs_Presenter(); $context = $this->context_memoizer->for_current_page(); /** This filter is documented in src/integrations/front-end-integration.php */ $presentation = apply_filters( 'wpseo_frontend_presentation', $context->presentation, $context ); $presenter->presentation = $presentation; $presenter->replace_vars = $this->replace_vars; $presenter->helpers = $this->helpers; return $presenter->present(); }