wpseek.com
WordPress开发者和主题制作者的搜索引擎



wp_image_editor_supports › WordPress Function

Since3.5.0
已弃用n/a
wp_image_editor_supports ( $args = array() )
参数:
  • (string|array) $args Optional. Array of arguments to retrieve the image editor supports. Default empty array.
    Required: No
    默认: array()
返回:
  • (bool) True if an eligible editor is found; false otherwise.
定义在:
文档:

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



源码

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