https://t.me/AnonymousX5
Server : Apache
System : Linux ls31.server.ly 3.10.0-962.3.2.lve1.5.68.el7.x86_64 #1 SMP Wed Apr 6 11:12:23 UTC 2022 x86_64
User : medchoco ( 2906)
PHP Version : 8.3.16
Disable Function : mail
Directory :  /home/medchoco/public_html/wp-content/plugins/jetpack-boost-git/compatibility/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/medchoco/public_html/wp-content/plugins/jetpack-boost-git/compatibility/web-stories.php
<?php
/**
 * Compatibility for Web Stories
 *
 * @package automattic/jetpack-boost
 */

namespace Automattic\Jetpack_Boost\Compatibility\Web_Stories;

/**
 * Exclude Web Stories pages to be processed by the Render Blocking JS module.
 *
 * @param bool $should_defer_js default filter value.
 */
function web_stories_should_defer_js( $should_defer_js ) {
	if ( class_exists( '\Google\Web_Stories\Story_Post_Type' )
		&& defined( '\Google\Web_Stories\Story_Post_Type::POST_TYPE_SLUG' )
		&& is_singular( \Google\Web_Stories\Story_Post_Type::POST_TYPE_SLUG ) ) {
		return false;
	}

	return $should_defer_js;
}

add_filter( 'jetpack_boost_should_defer_js', __NAMESPACE__ . '\web_stories_should_defer_js' );

https://t.me/AnonymousX5 - 2025