A WordPress-centric search engine for devs and theme authors



attachment_thumbnail_args ›

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 An array containing the thumbnail path and url.
    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 );