post_thumbnail_size

最后更新于:2021-11-27 17:35:22

apply_filters( ‘post_thumbnail_size’, string|int[] $size, int $post_id )

Filters the post thumbnail size.

参数

$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).

$post_id

(int)
The post ID.

源文件

文件: gc-includes/post-thumbnail-template.php

View on Trac