wpseek.com
WordPress开发者和主题制作者的搜索引擎



start_post_rel_link › WordPress Function

Since2.8.0
已弃用3.3.0
start_post_rel_link ( $title = '%title', $in_same_cat = false, $excluded_categories = '' )
参数: (3)
  • (string) $title Optional. Link title format.
    Required: No
    默认: '%title'
  • (bool) $in_same_cat Optional. Whether link should be in a same category.
    Required: No
    默认: false
  • (string) $excluded_categories Optional. Excluded categories IDs.
    Required: No
    默认: (empty)
定义在:
文档:

Display relational link for the first post.



源码

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