wpseek.com
A WordPress-centric search engine for devs and theme authors



is_sticky › WordPress Filter Hooks

Since5.3.0
Deprecatedn/a
apply_filters( 'is_sticky', $is_sticky, $post_id )
Parameters: (2)
  • () is_sticky Whether a post is sticky.
    Required: Yes
  • () post_id Post ID.
    Required: Yes
Defined at:
Codex:

Filters whether a post is sticky.





Source

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