mirror of
https://gh.wpcy.net/https://github.com/mainwp/Code-Snippets-Functions.git
synced 2026-04-28 11:22:21 +08:00
7 lines
192 B
Text
7 lines
192 B
Text
add_filter( 'sgo_webp_quality', 'webp_quality' );
|
|
function webp_quality( $quality ) {
|
|
// Add the value you want to adjust as Webp image quality.
|
|
$quality = 90;
|
|
|
|
return $quality;
|
|
}
|