Used By
Used By | Description |
---|---|
wp-includes/post-thumbnail-template.php: get_the_post_thumbnail() | Retrieve the post thumbnail. |
Filters the post thumbnail size.
(string|array) The post thumbnail size. Image size or array of width and height values (in that order). Default 'post-thumbnail'.
(int) The post ID.
Version | Description |
---|---|
4.9.0 | Added the $post_id parameter. |
2.9.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/post_thumbnail_size