W3cubDocs

/WordPress

start_post_rel_link( string $title = ‘%title’, bool $in_same_cat = false, string $excluded_categories = )

Display relational link for the first post.

Parameters

$titlestringoptional
Link title format.

Default:'%title'

$in_same_catbooloptional
Whether link should be in a same category.

Default:false

$excluded_categoriesstringoptional
Excluded categories IDs.

Default:''

Source

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);
}

Changelog

Version Description
3.3.0 This function has been deprecated.
2.8.0 Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/start_post_rel_link