apply_filters( 'attachment_thumbnail_args', array $image_attachment, array $metadata, array $uploaded )

Filters the parameters for the attachment thumbnail creation.


Parameters 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'
    (string) Filename of the newly-uploaded file.
  • 'url'
    (string) URL of the uploaded file.
  • 'type'
    (string) File type.


Top ↑

Source Source

File: wp-admin/includes/image.php

View on Trac



Top ↑

Changelog Changelog

Changelog
Version Description
3.9.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

Top ↑

You must log in before being able to contribute a note or feedback.