WP_Image_Editor::flip

Advertisement

Summery Summery

Flips current image.

Syntax Syntax

WP_Image_Editor::flip( bool $horz, bool $vert )

Parameters Parameters

$horz

(bool) (Required) Flip along Horizontal Axis

$vert

(bool) (Required) Flip along Vertical Axis

Return Return

(bool|WP_Error)

Source Source

File: wp-includes/class-wp-image-editor.php

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

Advertisement

Changelog Changelog

Changelog
Version Description
3.5.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.