wpseek.com
A WordPress-centric search engine for devs and theme authors



wp_image_editor_supports › WordPress Function

Since3.5.0
Deprecatedn/a
wp_image_editor_supports ( $args = array() )
Parameters:
  • (string|array) $args Optional. Array of arguments to retrieve the image editor supports. Default empty array.
    Required: No
    Default: array()
Returns:
  • (bool) True if an eligible editor is found; false otherwise.
Defined at:
Codex:

Tests whether there is an editor that supports a given mime type or methods.



Source

function wp_image_editor_supports( $args = array() ) {
	return (bool) _wp_image_editor_choose( $args );
}