wpseek.com
A WordPress-centric search engine for devs and theme authors
wp_editor_set_quality › WordPress Filter Hooks
Since3.5.0
Deprecatedn/a
› apply_filters( 'wp_editor_set_quality', $default_quality, $mime_type )
Parameters: (2) |
|
Defined at: |
|
Codex: |
Filters the default image compression quality setting.
Applies only during initial editor instantiation, or when set_quality() is run
manually without the $quality
argument.
The WP_Image_Editor::set_quality() method has priority over the filter.
Related Functions: wp_edit_posts_query, wp_credits_section_list, wp_reset_query, wp_filter_object_list, wp_credits_section_title, wp_dashboard_site_activity