WordPress at Your Fingertips
filter is not described

admin_post_thumbnail_size filter-hook . WP 4.4.0

Filters the size used to display the post thumbnail image in the 'Featured image' meta box.

Note: When a theme adds 'post-thumbnail' support, a special 'post-thumbnail' image size is registered, which differs from the 'thumbnail' image size managed via the Settings > Media screen.


add_filter( 'admin_post_thumbnail_size', 'filter_function_name_9851', 10, 3 );
function filter_function_name_9851( $size, $thumbnail_id, $post ){
	// filter...

	return $size;
Requested image size. Can be any registered image size name, or an array of width and height values in pixels (in that order).
Post thumbnail attachment ID.
The post object associated with the thumbnail.


Since 4.4.0 Introduced.

Where the hook is called

wp-admin/includes/post.php 1566
$size = apply_filters( 'admin_post_thumbnail_size', $size, $thumbnail_id, $post );

Where in WP core the hook is used WordPress

Usage not found.