WP_Image_Editor::rotate( float $angle )
Rotates current image counter-clockwise by $angle.
Description Description
Parameters Parameters
- $angle
-
(float) (Required)
Return Return
(bool|WP_Error)
Source Source
File: wp-includes/class-wp-image-editor.php
abstract public function rotate( $angle );
Expand full source code Collapse full source code View on Trac
Changelog Changelog
Version | Description |
---|---|
3.5.0 | Introduced. |