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



attachment_thumbnail_args ›

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 An array containing the thumbnail path and url.
    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 );