Used By
Used By | Description |
---|---|
wp-includes/post-thumbnail-template.php: get_the_post_thumbnail() | Retrieve the post thumbnail. |
Filters the post thumbnail HTML.
(string) The post thumbnail HTML.
(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'.
(string) Query string of attributes.
Version | Description |
---|---|
2.9.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/post_thumbnail_html