W3cubDocs

/WordPress

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 on Trac

Changelog

Version Description
5.3.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/is_sticky