WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru
фильтр не описан

wp_editor_set_quality хук-фильтр . WP 3.5.0

Filters the default image compression quality setting.

Applies only during initial editor instantiation, or when set_quality() is run manually without the $quality argument.

set_quality() has priority over the filter.


add_filter( 'wp_editor_set_quality', 'filter_function_name_725', 10, 2 );
function filter_function_name_725( $quality, $mime_type ){
	// filter...

	return $quality;
Quality level between 1 (low) and 100 (high).
Image mime type.

Где вызывается хук

wp-includes/class-wp-image-editor.php 236
$quality = apply_filters( 'wp_editor_set_quality', $this->default_quality, $this->mime_type );

Где используется хук (в ядре WP)

Использование не найдено.