wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



attachment_thumbnail_args › WordPress Filter Hooks

Seit3.9.0
Veraltetn/v
apply_filters( 'attachment_thumbnail_args', $image_attachment, $metadata, $uploaded )
Parameter: (3)
  • (array) $image_attachment An array of parameters to create the thumbnail.
    Erforderlich: Ja
  • (array) $metadata Current attachment metadata.
    Erforderlich: Ja
  • (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. }
    Erforderlich: Ja
Definiert in:
Codex:

Filters the parameters for the attachment thumbnail creation.





Quellcode

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