adjacent_posts_rel_link_wp_head

Advertisement

Summery Summery

Displays relational links for the posts adjacent to the current post for single post pages.

Syntax Syntax

adjacent_posts_rel_link_wp_head()

Description Description

This is meant to be attached to actions like ‘wp_head’. Do not call this directly in plugins or theme templates.

Source Source

File: wp-includes/link-template.php

function adjacent_posts_rel_link_wp_head() {
	if ( ! is_single() || is_attachment() ) {
		return;
	}
	adjacent_posts_rel_link();
}

Advertisement

Changelog Changelog

Changelog
Version Description
3.0.0 Introduced.

See also See also

Advertisement

Leave a Reply