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

Rotates current image counter-clockwise by $angle.


Parameters

$angle float Required

Top ↑

Return

true|WP_Error


Top ↑

Source

File: wp-includes/class-wp-image-editor.php. View all references

abstract public function rotate( $angle );


Top ↑

Changelog

Changelog
Version Description
3.5.0 Introduced.

Top ↑

User Contributed Notes

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