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



get_edit_post_link › WordPress过滤钩子

Since2.3.0
已弃用n/a
apply_filters( 'get_edit_post_link', $link, $post->ID, $context )
参数: (3)
  • (string) $link The edit link.
    Required: Yes
  • (int) $post_id Post ID.
    Required: Yes
  • (string) $context The link context. If set to 'display' then ampersands are encoded.
    Required: Yes
定义在:
文档:

Filters the post edit link.





源码

return apply_filters( 'get_edit_post_link', $link, $post->ID, $context );