WPDev.one
Core Function
View Source on Trac ↗

_wp_image_editor_choose()

_wp_image_editor_choose( mixed $args = array() )

Tests which editors are capable of supporting the request.

Parameters 0 required

Name / Type Description
$args
array

Optional. Array of arguments for choosing a capable editor. Default empty array.

Return Value

((string)
(string | false) Class name for the first editor that claims to support the request. False if no editor claims to support the request.

Function Information

Since Version
3.5.0
Source File
wp-includes/media.php
Advertisement