Un motore di ricerca WordPress per sviluppatori e autori di temi



wp_image_editor_supports ›

Da3.5.0
Deprecaton/a
wp_image_editor_supports ( $args = array() )
Parametri:
  • (string|array) $args Optional. Array of arguments to retrieve the image editor supports. Default empty array.
    Richiesto: No
    Default: array()
Ritorna:
  • (bool) True if an eligible editor is found; false otherwise.
Definito a:
Codex:

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



Sorgenti

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