where I have to add the following filters
add_filter( 'webpc_uploads_root', function( $path ) {
return '/www/';
} );
add_filter( 'webpc_dir_path', function( $path, $directory ) {
switch ($directory) {
case 'uploads':
return '/www/wp-content/uploads';
case 'webp':
return '/www/wp-content/uploads-webpc';
}
return $path;
}, 10, 2 );