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



{$adjacent}_post_rel_link › WordPress过滤钩子

Since2.8.0
已弃用n/a
› apply_filters( "{$adjacent}_post_rel_link", $link )
参数:
  • () link The relational link.
    Required: Yes
定义在:
文档:

Filters the adjacent post relational link.

The dynamic portion of the hook name, `$adjacent`, refers to the type of adjacency, 'next' or 'previous'. Possible hook names include: - `next_post_rel_link` - `previous_post_rel_link`




源码

return apply_filters( "{$adjacent}_post_rel_link", $link );