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



is_sticky › WordPress过滤钩子

Since5.3.0
已弃用n/a
› apply_filters( 'is_sticky', $is_sticky, $post_id )
参数: (2)
  • () is_sticky Whether a post is sticky.
    Required: Yes
  • () post_id Post ID.
    Required: Yes
定义在:
文档:

Filters whether a post is sticky.





源码

return apply_filters( 'is_sticky', $is_sticky, $post_id );