twentynineteen_can_show_post_thumbnail

twentynineteen_can_show_post_thumbnail

Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wordpress-5.8.3

apply_filters('twentynineteen_can_show_post_thumbnail') is found 1 times:

  • /wp-content/themes/twentynineteen/inc/helper-functions.php line 14
    /**
     * Determines if post thumbnail can be displayed.
     */
    function twentynineteen_can_show_post_thumbnail() {
    	return apply_filters( 'twentynineteen_can_show_post_thumbnail', ! post_password_required() && ! is_attachment() && has_post_thumbnail() );
    }
    
    /**
     * Returns true if image filters are enabled on the theme options.
     */
    function twentynineteen_image_filters_enabled() {
    

See this hook used in plugins: