WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about begin_fetch_post_thumbnail_html

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/post-thumbnail-template.php do_action 183 /**
* Fires before fetching the post thumbnail HTML.
*
* Provides "just in time" filtering of all filters in wp_get_attachment_image().
*
* @since 2.9.0
*
* @param int $post_id The post ID.
* @param int $post_thumbnail_id The post thumbnail ID.
* @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).
*/

Hook Parameters

Parameter Type Name Description
int $post_id The post ID.
int $post_thumbnail_id The post thumbnail ID.
string|int[] $size Requested image size. Can be any registered image size name, or