start_post_rel_link
Display relational link for the first post.
Description
Parameters (3)
- 0. $title — Optional. (string) =>
'%title'
- Link title format.
- 1. $in_same_cat — Optional. (constant) =>
false
- Whether link should be in a same category.
- 2. $excluded_categories — Optional. (string) =>
''
- Excluded categories IDs.
Usage
if ( !function_exists( 'start_post_rel_link' ) ) { require_once ABSPATH . WPINC . '/deprecated.php'; } // Optional. Link title format. $title = '%title'; // Optional. Whether link should be in a same category. $in_same_cat = false; // Optional. Excluded categories IDs. $excluded_categories = ''; // NOTICE! Understand what this does before running. $result = start_post_rel_link($title, $in_same_cat, $excluded_categories);
Defined (1)
The function is defined in the following location(s).
- /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);
- }