Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-admin/includes/post.php | apply_filters | 1626 | /** * 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. */ |
Hook Parameters
Parameter 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. |