image_edit_before_change

image_edit_before_change

Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-5.3.2

apply_filters('image_edit_before_change') is found 1 times:

  • /wp-admin/includes/image-edit.php line 573
    		 *
    		 * @param resource $image   GD image resource.
    		 * @param array    $changes Array of change operations.
    		 */
    		$image = apply_filters( 'image_edit_before_change', $image, $changes );
    	}
    
    	foreach ( $changes as $operation ) {
    		switch ( $operation->type ) {
    			case 'rotate':
    				if ( $operation->angle != 0 ) {