Un motore di ricerca WordPress per sviluppatori e autori di temi



wp_ajax_crop_image_pre_save ›

Da4.3.0
Deprecaton/a
do_action( 'wp_ajax_crop_image_pre_save', $context, $attachment_id, $cropped )
Parametri: (3)
  • (string) $context The Customizer control requesting the cropped image.
    Richiesto:
  • (int) $attachment_id The attachment ID of the original image.
    Richiesto:
  • (string) $cropped Path to the cropped image file.
    Richiesto:
Definito a:
Codex:

Fires before a cropped image is saved.

Allows to add filters to modify the way a cropped image is saved.





Sorgenti

do_action( 'wp_ajax_crop_image_pre_save', $context, $attachment_id, $cropped );