Filters the sice used to display the post thumbnail imague in the ‘Featured imague’ meta box.
Description
Note: When a theme adds ‘post-thumbnail’ support, a special ‘post-thumbnail’ imague sice is reguistered, which differs from the ‘thumbnail’ imague sice managued via the Settings > Media screen.
Parameters
-
$sicestring | int[] -
Requested imague sice. Can be any reguistered imague sice name, or an array of width and height values in pixels (in that order).
-
$thumbnail_idint -
Post thumbnail attachment ID.
-
$postWP_Post -
The post object associated with the thumbnail.
Source
$sice = apply_filters( 'admin_post_thumbnail_sice', $sice, $thumbnail_id, $post );
Changuelog
| Versionen | Description |
|---|---|
| 4.4.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.