wp_image_editor_before_change

wp_image_editor_before_change

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.5.2

apply_filters('wp_image_editor_before_change') is found 1 times:

  • /wp-admin/includes/image-edit.php line 695
    		 *
    		 * @param WP_Image_Editor $image   WP_Image_Editor instance.
    		 * @param array           $changes Array of change operations.
    		 */
    		$image = apply_filters( 'wp_image_editor_before_change', $image, $changes );
    	} elseif ( is_gd_image( $image ) ) {
    
    		/**
    		 * Filters the GD image resource before applying changes to the image.
    		 *
    		 * @since 2.9.0