start_post_rel_link

函数


start_post_rel_link ( $title = '%title', $in_same_cat = false, $excluded_categories = '' )
参数
  • (string)
    $title
    Optional. Link title format.
    Required:
    Default: ‘%title’
  • (bool)
    $in_same_cat
    Optional. Whether link should be in a same category.
    Required:
    Default: false
  • (string)
    $excluded_categories
    Optional. Excluded categories IDs.
    Required:
    Default: (empty)
定义位置
  • wp-includes/deprecated.php
    , line 2717
引入
2.8.0
弃用
3.3.0

显示第一个文章的关系链接。

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