W3cubDocs

/WordPress

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

This function has been deprecated.

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: ''

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

Changelog

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

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