wpseo_frontend_presentation
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_frontend_presentation
wpseo_frontend_presentation
wpseo_frontend_presentation
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 );