wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



attachment_thumbnail_args › Les Filtres WordPress

Depuis3.9.0
Dépréciéen/a
apply_filters( 'attachment_thumbnail_args', $image_attachment, $metadata, $uploaded )
Paramètres: (3)
  • (array) $image_attachment An array of parameters to create the thumbnail.
    Requis: Oui
  • (array) $metadata Current attachment metadata.
    Requis: Oui
  • (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. }
    Requis: Oui
Défini(e) dans:
Codex:

Filters the parameters for the attachment thumbnail creation.





Source

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