apply_filters( 'admin_post_thumbnail_html', string $content, int $post_id, int $thumbnail_id )

Filters the admin post thumbnail HTML markup to return.


Parameters

$content

(string) Admin post thumbnail HTML markup.

$post_id

(int) Post ID.

$thumbnail_id

(int) Thumbnail ID.


Source

File: wp-admin/includes/post.php

View on GitHub



Changelog

Changelog
Version Description
WP-4.6.0 Added the $thumbnail_id parameter.
WP-3.5.0 Added the $post_id parameter.
WP-2.9.0 Introduced.