WP_Image_Editor::rotate
Rotates current image counter-clockwise by $angle.
Method of the class: WP_Image_Editor{}
No Hooks.
Returns
true|WP_Error.
Usage
$WP_Image_Editor = new WP_Image_Editor(); $WP_Image_Editor->rotate( $angle );
- $angle(float) (required)
- .
Changelog
| Since 3.5.0 | Introduced. |
WP_Image_Editor::rotate() WP Image Editor::rotate code WP 6.9.1
abstract public function rotate( $angle );