_rotate_image_resource( $img,  $angle )

Source Source

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

		 * @param bool|null       $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( 'wp_save_image_editor_file', null, $filename, $image, $mime_type, $post_id );

		if ( null !== $saved ) {
			return $saved;

Top ↑

User Contributed Notes User Contributed Notes

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