Description
Fires after fetching the post thumbnail HTML.
Occurrences
Filename | Line Number |
---|---|
wp-includes/post-thumbnail-template.php | 201 |
Parameters
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 an array of width and height values in pixels (in that order). |
PHP Doc
/**
* Fires after fetching the post thumbnail HTML.
*
* @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).
*/