wpseo_frontend_presenters хук-фильтр . Yoast 1.0
Filter 'wpseo_frontend_presenters' - Allow filtering the presenter instances in or out of the request.
Использование
add_filter( 'wpseo_frontend_presenters', 'filter_function_name_7714' ); function filter_function_name_7714( $presenters ){ // filter... return $presenters; }
- $presenters(Abstract_Indexable_Presenter[])
- List of presenter instances.
Где вызывается хук
wpseo_frontend_presenters
yoast/src/integrations/front-end-integration.php 307
$presenter_instances = \apply_filters( 'wpseo_frontend_presenters', $presenters );