attachment_thumbnail_args
最后更新于:2021-11-25 20:32:53
apply_filters( ‘attachment_thumbnail_args’, array $image_attachment, array $metadata, array $uploaded )
Filters the parameters for the attachment thumbnail creation.
参数
- $image_attachment
-
(array)
An array of parameters to create the thumbnail. - $metadata
-
(array)
Current attachment metadata. - $uploaded
-
(array)
Information about the newly-uploaded file.-
‘file’
(string) Filename of the newly-uploaded file. -
‘url’
(string) URL of the uploaded file. -
‘type’
(string) File type.
-
‘file’
源文件
文件: gc-admin/includes/image.php