wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema



attachment_thumbnail_args › Hooks de Filtros WordPress

Desde3.9.0
Obsoleton/a
apply_filters( 'attachment_thumbnail_args', $image_attachment, $metadata, $uploaded )
Parâmetros: (3)
  • (array) $image_attachment An array of parameters to create the thumbnail.
    Required: Yes
  • (array) $metadata Current attachment metadata.
    Required: Yes
  • (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. }
    Required: Yes
Definido em:
Codex:

Filters the parameters for the attachment thumbnail creation.





Fonte

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