On this page
WP_Image_Editor::test( array $args = array() ): bool
Checks to see if current environment supports the editor chosen.
Description
Must be overridden in a subclass.
Parameters
$argsarray Optional-
Default:
array()
Return
bool
Source
File: wp-includes/class-wp-image-editor.php. View all references
public static function test( $args = array() ) {
return false;
}
Changelog
| Version | Description |
|---|---|
| 3.5.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_image_editor/test