wp_image_editor_supports()
Tests whether there is an editor that supports a given mime type or methods.
No Hooks.
Returns
true|false. True if an eligible editor is found; false otherwise.
Usage
wp_image_editor_supports( $args );
- $args(string|array)
- Array of arguments to retrieve the image editor supports.
Default:empty array
Changelog
| Since 3.5.0 | Introduced. |
wp_image_editor_supports() wp image editor supports code WP 6.9.1
function wp_image_editor_supports( $args = array() ) {
return (bool) _wp_image_editor_choose( $args );
}