wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



attachment_thumbnail_args › WordPress Filter Hooks

Da3.9.0
Deprecaton/a
apply_filters( 'attachment_thumbnail_args', $image_attachment, $metadata, $uploaded )
Parametri: (3)
  • (array) $image_attachment An array of parameters to create the thumbnail.
    Richiesto:
  • (array) $metadata Current attachment metadata.
    Richiesto:
  • (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. }
    Richiesto:
Definito a:
Codex:

Filters the parameters for the attachment thumbnail creation.





Sorgenti

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