wpseo_disable_adjacent_rel_links хук-фильтр . Yoast 1.0
Filter: 'wpseo_disable_adjacent_rel_links' - Allows disabling of Yoast adjacent links if this is being handled by other code.
Использование
add_filter( 'wpseo_disable_adjacent_rel_links', 'filter_function_name_8138' ); function filter_function_name_8138( $links_generated ){ // filter... return $links_generated; }
- $links_generated(true/false)
- Indicates if other code has handled adjacent links.
Где вызывается хук
wpseo_disable_adjacent_rel_links
yoast/src/helpers/pagination-helper.php 54
return \apply_filters( 'wpseo_disable_adjacent_rel_links', false );