Un motore di ricerca WordPress per sviluppatori e autori di temi



intermediate_image_sizes_advanced ›

Da5.3.0
Deprecaton/a
apply_filters( 'intermediate_image_sizes_advanced', $new_sizes, $image_meta, $attachment_id )
Parametri: (3)
  • (array) $new_sizes Associative array of image sizes to be created.
    Richiesto:
  • (array) $image_meta The image meta data: width, height, file, sizes, etc.
    Richiesto:
  • (int) $attachment_id The attachment post ID for the image.
    Richiesto:
Definito a:
Codex:

Filters the image sizes automatically generated when uploading an image.





Sorgenti

$new_sizes = apply_filters( 'intermediate_image_sizes_advanced', $new_sizes, $image_meta, $attachment_id );