wpseek.com
A WordPress-centric search engine for devs and theme authors



attachment_thumbnail_args › WordPress Filter Hooks

Since3.9.0
Deprecatedn/a
apply_filters( 'attachment_thumbnail_args', $image_attachment, $metadata, $uploaded )
Parameters: (3)
  • (array) $image_attachment An array of parameters to create the thumbnail.
    Required: Yes
  • (array) $metadata Current attachment metadata.
    Required: Yes
  • (array) $uploaded { Information about the newly-uploaded file. @type string $file Filename of the newly-uploaded file. @type string $url URL of the uploaded file. @type string $type File type. }
    Required: Yes
Defined at:
Codex:

Filters the parameters for the attachment thumbnail creation.





Source

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