Uma área de pesquisa sobre o WordPress para devs e autores do tema



wp_image_editor_supports ›

Desde3.5.0
Obsoleton/a
wp_image_editor_supports ( $args = array() )
Parâmetros:
  • (string|array) $args Optional. Array of arguments to retrieve the image editor supports. Default empty array.
    Required: No
    Padrão: array()
Retorna:
  • (bool) True if an eligible editor is found; false otherwise.
Definido em:
Codex:

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



Fonte

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