On this page
apply_filters( 'is_sticky', bool $is_sticky, int $post_id )
Filters whether a post is sticky.
Parameters
$is_stickybool-
Whether a post is sticky.
$post_idint-
Post ID.
Source
File: wp-includes/post.php. View all references
return apply_filters( 'is_sticky', $is_sticky, $post_id );
Related
Used By
| Used By | Description |
|---|---|
| is_sticky() wp-includes/post.php | Determines whether a post is sticky. |
Changelog
| Version | Description |
|---|---|
| 5.3.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/is_sticky