Filter hook 'image_editor_default_mime_type'

in WP Core File wp-includes/class-wp-image-editor.php at line 411

Description

Filters default mime type prior to getting the file extension.

Occurrences

Filename Line Number
wp-includes/class-wp-image-editor.php 411

Parameters

Type Name Description
string $mime_type Mime type string.

PHP Doc

/**
			 * Filters default mime type prior to getting the file extension.
			 *
			 * @see wp_get_mime_types()
			 *
			 * @since 3.5.0
			 *
			 * @param string $mime_type Mime type string.
			 */