WP_Image_Editor::flip()
Flips current image.
Method of the class: WP_Image_Editor{}
No Hooks.
Return
true|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. |
WP_Image_Editor::flip() WP Image Editor::flip code WP 6.3
abstract public function flip( $horz, $vert );