WordPress开发者和主题制作者的搜索引擎



attachment_thumbnail_args ›

Since3.9.0
已弃用n/a
apply_filters( 'attachment_thumbnail_args', $image_attachment, $metadata, $uploaded )
参数: (3)
  • (array) $image_attachment An array of parameters to create the thumbnail.
    Required: Yes
  • (array) $metadata Current attachment metadata.
    Required: Yes
  • (array) $uploaded An array containing the thumbnail path and url.
    Required: Yes
定义在:
文档:

Filters the parameters for the attachment thumbnail creation.





源码

$image_attachment = apply_filters( 'attachment_thumbnail_args', $image_attachment, $metadata, $uploaded );