image_editor_output_format

最后更新于:2021-11-27 00:57:55

apply_filters( ‘image_editor_output_format’, string[] $output_format, string $filename, string $mime_type )

Filters the image editor output format mapping.

参数

$output_format

(string[])
An array of mime type mappings. Maps a source mime type to a new destination mime type. Default empty array.

  • ‘…$0’
    (string) The new mime type.

$filename

(string)
Path to the image.

$mime_type

(string)
The source image mime type. }

源文件

文件: gc-includes/class-gc-image-editor.php

View on Trac