wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



wp_ajax_crop_image_pre_save › Les Actions WordPress

Depuis4.3.0
Dépréciéen/a
› do_action( 'wp_ajax_crop_image_pre_save', $context, $attachment_id, $cropped )
Paramètres: (3)
  • () context The Customizer control requesting the cropped image.
    Requis: Oui
  • () attachment_id The attachment ID of the original image.
    Requis: Oui
  • () cropped Path to the cropped image file.
    Requis: Oui
Défini(e) dans:
Codex:

Fires before a cropped image is saved.

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




Source

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