Un motore di ricerca WordPress per sviluppatori e autori di temi



intermediate_image_sizes_advanced ›

Da5.1.0
Deprecaton/a
apply_filters( 'intermediate_image_sizes_advanced', $sizes, $metadata, $attachment_id )
Parametri: (3)
  • (array) $sizes An associative array of image sizes.
    Richiesto:
  • (array) $metadata An associative array of image metadata: width, height, file.
    Richiesto:
  • (int) $attachment_id Current attachment ID.
    Richiesto:
Definito a:
Codex:

Filters the image sizes automatically generated when uploading an image.





Sorgenti

$sizes = apply_filters( 'intermediate_image_sizes_advanced', $sizes, $metadata, $attachment_id );