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.

Top ↑

Source

File: wp-includes/post.php. View all references

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


Top ↑

Changelog

Changelog
Version Description
5.3.0 Introduced.

Top ↑

User Contributed Notes

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