Used By
Used By | Description |
---|---|
wp-includes/post-thumbnail-template.php: get_the_post_thumbnail() | Retrieve the post thumbnail. |
Fires before fetching the post thumbnail HTML.
Provides "just in time" filtering of all filters in wp_get_attachment_image().
(int) The post ID.
(string) The post thumbnail ID.
(string|array) The post thumbnail size. Image size or array of width and height values (in that order). Default 'post-thumbnail'.
Version | Description |
---|---|
2.9.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/begin_fetch_post_thumbnail_html