本文整理汇总了PHP中get_boundary_post_rel_link函数的典型用法代码示例。如果您正苦于以下问题:PHP get_boundary_post_rel_link函数的具体用法?PHP get_boundary_post_rel_link怎么用?PHP get_boundary_post_rel_link使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了get_boundary_post_rel_link函数的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: start_post_rel_link
/**
* Display relational link for the first post.
*
* @since 2.8.0
* @deprecated 3.3.0
*
* @param string $title Optional. Link title format.
* @param bool $in_same_cat Optional. Whether link should be in a same category.
* @param string $excluded_categories Optional. Excluded categories IDs.
*/
function start_post_rel_link($title = '%title', $in_same_cat = false, $excluded_categories = '')
{
_deprecated_function(__FUNCTION__, '3.3');
echo get_boundary_post_rel_link($title, $in_same_cat, $excluded_categories, true);
}
示例2: start_post_rel_link
/**
* Display relational link for the first post.
*
* @since 2.8.0
*
* @param string $title Optional. Link title format.
* @param bool $in_same_cat Optional. Whether link should be in same category.
* @param string $excluded_categories Optional. Excluded categories IDs.
*/
function start_post_rel_link($title = '%title', $in_same_cat = false, $excluded_categories = '')
{
echo get_boundary_post_rel_link($title, $in_same_cat, $excluded_categories, true);
}