Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



wp_image_editor_supports ›

Seit3.5.0
Veraltetn/v
wp_image_editor_supports ( $args = array() )
Parameter:
  • (string|array) $args Optional. Array of arguments to retrieve the image editor supports. Default empty array.
    Erforderlich: Nein
    Standard: array()
Gibt zurück:
  • (bool) True if an eligible editor is found; false otherwise.
Definiert in:
Codex:

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



Quellcode

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