admin_post_thumbnail_size

最后更新于:2021-11-25 19:44:50

apply_filters( ‘admin_post_thumbnail_size’, string|int[] $size, int $thumbnail_id, GC_Post $post )

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

参数

$size

(string|int[])
Requested image size. Can be any registered image size name, or an array of width and height values in pixels (in that order).

$thumbnail_id

(int)
Post thumbnail attachment ID.

$post

(GC_Post)
The post object associated with the thumbnail.

源文件

文件: gc-admin/includes/post.php

View on Trac