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
.
View all references
return apply_filters( 'is_sticky', $is_sticky, $post_id );
Changelog
Version | Description |
---|---|
5.3.0 | Introduced. |