Used By
Used By | Description |
---|---|
wp-admin/includes/post.php: _wp_post_thumbnail_html() | Returns HTML for the post thumbnail meta box. |
Filters the admin post thumbnail HTML markup to return.
(string) Admin post thumbnail HTML markup.
(int) Post ID.
(int|null) Thumbnail attachment ID, or null if there isn't one.
Version | Description |
---|---|
4.6.0 | Added the $thumbnail_id parameter. |
3.5.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/admin_post_thumbnail_html