wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.
wp_editor_set_quality › Filtr WordPress Hooks
Od3.5.0
Przestarzałyn/a
› apply_filters( 'wp_editor_set_quality', $default_quality, $mime_type )
Parametry: (2) |
|
Zdefiniowane na: |
|
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.
Powiązane Funkcje: wp_edit_posts_query, wp_credits_section_list, wp_reset_query, wp_filter_object_list, wp_credits_section_title, wp_editor
Powiązane Hooks: wp_editor_settings, wp_editor_expand, wp_code_editor_settings, block_editor_settings_all, jpeg_quality