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: ''
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); }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
3.3.0 | This function has been deprecated. |
2.8.0 | Introduced. |