wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



wp_image_editor_supports › WordPress Function

Od3.5.0
Przestarzałyn/a
wp_image_editor_supports ( $args = array() )
Parametry:
  • (string|array) $args Optional. Array of arguments to retrieve the image editor supports. Default empty array.
    Wymagane: Nie
    Domyślny: array()
Powrót:
  • (bool) True if an eligible editor is found; false otherwise.
Zdefiniowane na:
Codex:

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



Źródło

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