Filters whether a post is sticky.
$is_stickybool
$post_idint
return apply_filters( 'is_sticky', $is_sticky, $post_id );
| Version | Description |
|---|---|
| 5.3.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/is_sticky