Warning: This function has been deprecated.

start_post_rel_link() WordPress Function

The start_post_rel_link() function is used to display the first link in a set of links at the start of a post. This function is part of WordPress's post-relational linking system.

start_post_rel_link( string $title = '%title', bool $in_same_cat = false, string $excluded_categories = '' ) #

Display relational link for the first post.


Parameters

$title

(string)(Optional) Link title format.

Default value: '%title'

$in_same_cat

(bool)(Optional) Whether link should be in a same category.

Default value: false

$excluded_categories

(string)(Optional) Excluded categories IDs.

Default value: ''


Top ↑

Source

File: wp-includes/deprecated.php

function start_post_rel_link($title = '%title', $in_same_cat = false, $excluded_categories = '') {
	_deprecated_function( __FUNCTION__, '3.3.0' );

	echo get_boundary_post_rel_link($title, $in_same_cat, $excluded_categories, true);
}


Top ↑

Changelog

Changelog
VersionDescription
3.3.0This function has been deprecated.
2.8.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More