HTTP/2 301
server: nginx
date: Fri, 10 Oct 2025 18:51:07 GMT
content-type: text/html; charset=UTF-8
location: https://developer.wordpress.org/reference/functions/wp_image_editor_supports/
x-content-type-options: nosniff
content-language: en
x-ua-compatible: IE=Edge
vary: Accept-Encoding, Cookie
expires: Thu, 01 Jan 1970 00:00:00 GMT
cache-control: no-cache, no-store, max-age=0, must-revalidate
pragma: no-cache
alt-svc: h3=":443"; ma=86400
strict-transport-security: max-age=31536000
HTTP/2 200
server: nginx
date: Fri, 10 Oct 2025 18:51:09 GMT
content-type: text/html; charset=UTF-8
vary: Accept-Encoding
x-olaf: ⛄
vary: accept, content-type
link:
; rel="https://api.w.org/"
link:
; rel="alternate"; title="JSON"; type="application/json"
link: ; rel=shortlink
x-frame-options: SAMEORIGIN
content-encoding: gzip
alt-svc: h3=":443"; ma=86400
x-nc: MISS ord 1
wp_image_editor_supports() – Function | Developer.WordPress.org
wp_image_editor_supports( string|array $args = array() ): bool
Tests whether there is an editor that supports a given mime type or methods.
$args
string |array optional Array of arguments to retrieve the image editor supports.
Default:array()
bool True if an eligible editor is found; false otherwise.
* In PHP 8.0, the GD extension uses GdImage objects for its data structures.
* This function checks if the passed value is either a GdImage object instance
* or a resource of type `gd`. Any other type will return false.
View all references View on Trac View on GitHub
Version Description 3.5.0 Introduced.
Example: