Created
August 29, 2022 15:45
-
-
Save adamsilverstein/be96aa8f6eea4c1ec0b3cd9c96740db3 to your computer and use it in GitHub Desktop.
Set all quality to 82
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Use the `wp_editor_set_quality` filter for testing. | |
*/ | |
function set_webp_quality() { | |
return 82; | |
} | |
add_filter( 'wp_editor_set_quality', 'set_webp_quality', 10 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment