adjacent_posts_rel_link_wp_head()
Displays relational links for the posts adjacent to the current post for single post pages.
This is meant to be attached to actions like wp_head. Do not call this directly in plugins or theme templates.
Хуков нет.
Возвращает
null. Ничего (null).
Использование
adjacent_posts_rel_link_wp_head();
Заметки
| Смотрите: adjacent_posts_rel_link() |
Список изменений
| С версии 3.0.0 | Введена. |
| С версии 5.6.0 | No longer used in core. |
Код adjacent_posts_rel_link_wp_head() adjacent posts rel link wp head WP 7.1.4
function adjacent_posts_rel_link_wp_head() {
if ( ! is_single() || is_attachment() ) {
return;
}
adjacent_posts_rel_link();
}