WP_Image_Editor::flip( bool $horz, bool $vert )
Flips current image.
Parameters
- $horz
-
(Required) Flip along Horizontal Axis
- $vert
-
(Required) Flip along Vertical Axis
Return
(bool|WP_Error)
Source
File: wp-includes/class-wp-image-editor.php
abstract public function flip( $horz, $vert );
Changelog
Version | Description |
---|---|
WP-3.5.0 | Introduced. |