wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



wp_image_editor_supports › WordPress Function

Depuis3.5.0
Dépréciéen/a
wp_image_editor_supports ( $args = array() )
Paramètres:
  • (string|array) $args Optional. Array of arguments to retrieve the image editor supports. Default empty array.
    Requis: Non
    Défaut: array()
Retourne:
  • (bool) True if an eligible editor is found; false otherwise.
Défini(e) dans:
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 );
}