wpseo_frontend_presentation хук-фильтрYoast 1.0

This filter is documented in src/integrations/front-end-integration.php

Использование

add_filter( 'wpseo_frontend_presentation', 'wp_kama_wpseo_frontend_presentation_filter', 10, 2 );

/**
 * Function for `wpseo_frontend_presentation` filter-hook.
 * 
 * @param  $presentation 
 * @param  $context      
 *
 * @return 
 */
function wp_kama_wpseo_frontend_presentation_filter( $presentation, $context ){

	// filter...
	return $presentation;
}
$presentation
-
$context
-

Где вызывается хук

WPSEO_Breadcrumbs::render()
wpseo_frontend_presentation
WPSEO_Frontend::get_current_page_presentation()
wpseo_frontend_presentation
Meta::get_head()
wpseo_frontend_presentation
Meta::__get()
wpseo_frontend_presentation
yoast/src/deprecated/frontend/breadcrumbs.php 137
$presentation            = apply_filters( 'wpseo_frontend_presentation', $context->presentation, $context );
yoast/src/deprecated/frontend/frontend.php 280
return apply_filters( 'wpseo_frontend_presentation', $context->presentation, $context );
yoast/src/surfaces/values/meta.php 133
$presentation = \apply_filters( 'wpseo_frontend_presentation', $this->context->presentation, $this->context );
yoast/src/surfaces/values/meta.php 172
$presentation = \apply_filters( 'wpseo_frontend_presentation', $this->context->presentation, $this->context );

Где используется хук в Yoast SEO

Использование не найдено.