wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



wp_ajax_crop_image_pre_save › Działania WordPress Hooks

Od4.3.0
Przestarzałyn/a
› do_action( 'wp_ajax_crop_image_pre_save', $context, $attachment_id, $cropped )
Parametry: (3)
  • () context The Customizer control requesting the cropped image.
    Wymagane: Tak
  • () attachment_id The attachment ID of the original image.
    Wymagane: Tak
  • () cropped Path to the cropped image file.
    Wymagane: Tak
Zdefiniowane na:
Codex:

Fires before a cropped image is saved.

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




Źródło

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