post_thumbnail_html

post_thumbnail_html

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.7

apply_filters('post_thumbnail_html') is found 1 times:

  • /wp-includes/post-thumbnail-template.php line 236
    	 * @param string|int[] $size              Requested image size. Can be any registered image size name, or
    	 *                                        an array of width and height values in pixels (in that order).
    	 * @param string|array $attr              Query string or array of attributes.
    	 */
    	return apply_filters( 'post_thumbnail_html', $html, $post->ID, $post_thumbnail_id, $size, $attr );
    }
    
    /**
     * Returns the post thumbnail URL.
     *
     * @since 4.4.0
    

See this hook used in plugins: