wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



attachment_thumbnail_args › Filtr WordPress Hooks

Od3.9.0
Przestarzałyn/a
apply_filters( 'attachment_thumbnail_args', $image_attachment, $metadata, $uploaded )
Parametry: (3)
  • (array) $image_attachment An array of parameters to create the thumbnail.
    Wymagane: Tak
  • (array) $metadata Current attachment metadata.
    Wymagane: Tak
  • (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. }
    Wymagane: Tak
Zdefiniowane na:
Codex:

Filters the parameters for the attachment thumbnail creation.





Źródło

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