WordPress at a glance
function is not described

WP_Image_Editor::flip() public WP 3.5.0

Flips current image.

{} It's a method of the class: WP_Image_Editor{}

No Hooks.

Return

true/false/WP_Error.

Usage

$WP_Image_Editor = new WP_Image_Editor();
$WP_Image_Editor->flip( $horz, $vert );
$horz(true/false) (required)
Flip along Horizontal Axis
$vert(true/false) (required)
Flip along Vertical Axis

Changelog

Since 3.5.0 Introduced.

Code of WP_Image_Editor::flip() WP 5.5.1

<?php
abstract public function flip( $horz, $vert );