WP_Image_Editor::flip( bool $horz, bool $vert ): true|WP_Error

In this article

Flips current image.

Parameters

$horzboolrequired
Flip along Horizontal Axis
$vertboolrequired
Flip along Vertical Axis

Return

true|WP_Error

Source

abstract public function flip( $horz, $vert );

Changelog

VersionDescription
3.5.0Introduced.

User Contributed Notes

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