int $quality, string $mime_type )
Filters the default image compression quality setting.
Applies only during initial editor instantiation, or when set_quality() is run manually without the
The WP_Image_Editor::set_quality() method has priority over the filter.
Quality level between 1 (low) and 100 (high).
Image mime type.
View all references
$quality = apply_filters( 'wp_editor_set_quality', $default_quality, $mime_type );