Yoast\WP\SEO\Helpers
Pagination_Helper::is_rel_adjacent_disabled() public Yoast 1.0
Checks whether adjacent rel links are disabled.
{} Это метод класса: Pagination_Helper{}
Хуки из метода
Возвращает
true/false. Whether adjacent rel links are disabled or not.
Использование
$Pagination_Helper = new Pagination_Helper(); $Pagination_Helper->is_rel_adjacent_disabled();
Код Pagination_Helper::is_rel_adjacent_disabled() Pagination Helper::is rel adjacent disabled Yoast 15.7
public function is_rel_adjacent_disabled() {
/**
* Filter: 'wpseo_disable_adjacent_rel_links' - Allows disabling of Yoast adjacent links if this is being handled by other code.
*
* @api bool $links_generated Indicates if other code has handled adjacent links.
*/
return \apply_filters( 'wpseo_disable_adjacent_rel_links', false );
}