is_sticky

is_sticky

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7.1

apply_filters('is_sticky') is found 1 times:

  • /wp-includes/post.php line 2803
    2799
    2800
    2801
    2802
    2803
    2804
    2805
    2806
    2807
    2808
    2809
         *
         * @param bool $is_sticky Whether a post is sticky.
         * @param int  $post_id   Post ID.
         */
        return apply_filters( 'is_sticky', $is_sticky, $post_id );
    }
     
    /**
     * Sanitizes every post field.
     *
     * If the context is 'raw', then the post object or array will get minimal