WP_Image_Editor::rotate( float $angle ): true|WP_Error

In this article

Rotates current image counter-clockwise by $angle.

Parameters

$anglefloatrequired

Return

true|WP_Error

Source

abstract public function rotate( $angle );

Changelog

VersionDescription
3.5.0Introduced.

User Contributed Notes

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