apply_filters( ‘is_sticky’, bool $is_sticky, int $post_id )

In this article

Filters whether a post is sticky.

Parameters

$is_stickybool
Whether a post is sticky.
$post_idint
Post ID.

Source

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

Changelog

VersionDescription
5.3.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.