Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-includes/post-thumbnail-template.php | apply_filters | 167 | /** * Filters the post thumbnail size. * * @since 2.9.0 * @since 4.9.0 Added the `$post_id` parameter. * * @param string|int[] $size Requested image size. Can be any registered image size name, or * an array of width and height values in pixels (in that order). * @param int $post_id The post ID. */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
string|int[] | $size | Requested image size. Can be any registered image size name, or |
int | $post_id | The post ID. |