_flip_image_resource( GD_Resource $img, boolean $horz, boolean $vert )

Parameters Parameters


(GD_Resource) (Required)


(boolean) (Required)


(boolean) (Required)

Top ↑

Return Return


Top ↑

Source Source

File: wp-admin/includes/image-edit.php

		 * Filters whether to skip saving the image file.
		 * Returning a non-null value will short-circuit the save method,
		 * returning that value instead.
		 * @since 2.9.0
		 * @deprecated 3.5.0 Use {@see 'wp_save_image_editor_file'} instead.
		 * @param mixed           $override  Value to return instead of saving. Default null.
		 * @param string          $filename  Name of the file to be saved.
		 * @param WP_Image_Editor $image     The image editor instance.
		 * @param string          $mime_type The mime type of the image.
		 * @param int             $post_id   Attachment post ID.
		$saved = apply_filters_deprecated(
			array( null, $filename, $image, $mime_type, $post_id ),

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.