Description
Filters the admin post thumbnail HTML markup to return.
Occurrences
Filename | Line Number |
---|---|
wp-admin/includes/post.php | 1689 |
Parameters
Type | Name | Description |
---|---|---|
string | $content | Admin post thumbnail HTML markup. |
int | $post_id | Post ID. |
int|null | $thumbnail_id | Thumbnail attachment ID, or null if there isn't one. |
PHP Doc
/**
* Filters the admin post thumbnail HTML markup to return.
*
* @since 2.9.0
* @since 3.5.0 Added the `$post_id` parameter.
* @since 4.6.0 Added the `$thumbnail_id` parameter.
*
* @param string $content Admin post thumbnail HTML markup.
* @param int $post_id Post ID.
* @param int|null $thumbnail_id Thumbnail attachment ID, or null if there isn't one.
*/