HEX
Server: LiteSpeed
System: Linux premium290.web-hosting.com 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP Wed Mar 26 12:08:09 UTC 2025 x86_64
User: karemvyp (1881)
PHP: 8.1.33
Disabled: NONE
Upload Files
File: /home/karemvyp/h555.com.pk/wp-content/plugins/jetpack-boost-git/compatibility/yoast.php
<?php
/**
 * Yoast SEO compatibility for Boost
 *
 * @package automattic/jetpack-boost
 */

namespace Automattic\Jetpack_Boost\Compatibility\Yoast;

use Automattic\Jetpack_Boost\Jetpack_Boost;

// Add the Critical CSS generation query arg to Yoast's allowed query args list.
// This prevents Yoast from removing the query arg, which breaks Critical CSS generation.
add_filter( 'Yoast\WP\SEO\allowlist_permalink_vars', array( Jetpack_Boost::class, 'whitelist_query_args' ) );