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



page_link › WordPress过滤钩子

Since1.5.0
已弃用n/a
› apply_filters( 'page_link', $link, $post->ID, $sample )
参数: (3)
  • () link The page's permalink.
    Required: Yes
  • () post_id The ID of the page.
    Required: Yes
  • () sample Is it a sample permalink.
    Required: Yes
定义在:
文档:

Filters the permalink for a page.





源码

return apply_filters( 'page_link', $link, $post->ID, $sample );