apply_filters( 'is_sticky', bool $is_sticky, int $post_id )
Filters whether a post is sticky.
Parameters
- $is_sticky
-
(bool) Whether a post is sticky.
- $post_id
-
(int) Post ID.
Source
File: wp-includes/post.php
Changelog
Version | Description |
---|---|
5.3.0 | Introduced. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/is_sticky