On this page
apply_filters( 'admin_post_thumbnail_html', string $content, int $post_id, int|null $thumbnail_id )
Filters the admin post thumbnail HTML markup to return.
Parameters
$contentstring-
Admin post thumbnail HTML markup.
$post_idint-
Post ID.
$thumbnail_idint|null-
Thumbnail attachment ID, or null if there isn't one.
Source
File: wp-admin/includes/post.php. View all references
return apply_filters( 'admin_post_thumbnail_html', $content, $post->ID, $thumbnail_id );
Related
Used By
| Used By | Description |
|---|---|
| _wp_post_thumbnail_html() wp-admin/includes/post.php | Returns HTML for the post thumbnail meta box. |
Changelog
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/admin_post_thumbnail_html