is_sticky

is_sticky

Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.5.2

apply_filters('is_sticky') is found 1 times:

  • /wp-includes/post.php line 2781
    	 *
    	 * @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