wp_image_editor_supports()WP 3.5.0

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

Хуков нет.


true|false. True if an eligible editor is found; false otherwise.


wp_image_editor_supports( $args );
Array of arguments to retrieve the image editor supports.
По умолчанию: empty array

Список изменений

С версии 3.5.0 Введена.

Код wp_image_editor_supports() WP 6.4.1

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