Core Function
View Source on Trac ↗ wp_image_editor_supports()
wp_image_editor_supports( mixed $args = array() ) Tests whether there is an editor that supports a given mime type or methods.
Parameters 1 required
| Name / Type | Description |
|---|---|
| mixed | (string | array) $args Optional. Array of arguments to retrieve the image editor supports. Default empty array. Required |
Return Value
(bool)
True if an eligible editor is found; false otherwise.
Function Information
Since Version
3.5.0
Source File
wp-includes/media.php
Advertisement