Filters the parameters for the attachment thumbnail creation.
Parameters
$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
stringFilename of the newly-uploaded file.url
stringURL of the uploaded file.type
stringFile type.
Source
$image_attachment = apply_filters( 'attachment_thumbnail_args', $image_attachment, $metadata, $uploaded );
Changelog
Version | Description |
---|---|
3.9.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.