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



preview_post_link ›

Since4.0.0
已弃用n/a
apply_filters( 'preview_post_link', $preview_link, $post )
参数: (2)
  • (string) $preview_link URL used for the post preview.
    Required: Yes
  • (WP_Post) $post Post object.
    Required: Yes
定义在:
文档:

Filters the URL used for a post preview.





源码

return apply_filters( 'preview_post_link', $preview_link, $post );