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  $context->presentation 
 * @param  $context               
 *
 * @return 
 */
function wp_kama_wpseo_frontend_presentation_filter( $context->presentation, $context ){

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

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

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

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

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