adjacent_posts_rel_link_wp_head
Displays relational links for the posts adjacent to the current post for single post pages.
Description
adjacent_posts_rel_link_wp_head();
This is meant to be attached to actions like wp_head.. Do not call this directly in plugins or theme templates.
Usage
if ( !function_exists( 'adjacent_posts_rel_link_wp_head' ) ) { require_once ABSPATH . WPINC . '/link-template.php'; } // NOTICE! Understand what this does before running. $result = adjacent_posts_rel_link_wp_head();
Defined (1)
The function is defined in the following location(s).
- /wp-includes/link-template.php
- function adjacent_posts_rel_link_wp_head() {
- if ( ! is_single() || is_attachment() ) {
- return;
- }
- }