Skip to content

Instantly share code, notes, and snippets.

@chocotaro
Created April 8, 2017 06:22
Show Gist options
  • Save chocotaro/fae745189ac66fa7465565a07f353328 to your computer and use it in GitHub Desktop.
Save chocotaro/fae745189ac66fa7465565a07f353328 to your computer and use it in GitHub Desktop.
WordPressの画像保存クォリティ変更(デフォルトは82)
add_filter( 'wp_editor_set_quality', function( $quality ) {
return 100;
} );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment