wpseek.com
A WordPress-centric search engine for devs and theme authors



start_post_rel_link › WordPress Function

Since2.8.0
Deprecated3.3.0
start_post_rel_link ( $title = '%title', $in_same_cat = false, $excluded_categories = '' )
Parameters: (3)
  • (string) $title Optional. Link title format.
    Required: No
    Default: '%title'
  • (bool) $in_same_cat Optional. Whether link should be in a same category.
    Required: No
    Default: false
  • (string) $excluded_categories Optional. Excluded categories IDs.
    Required: No
    Default: (empty)
Defined at:
Codex:

Display relational link for the first post.



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