uawdijnntqw1x1x1
IP : 216.73.216.109
Hostname : premium160.web-hosting.com
Kernel : Linux premium160.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
Disable Function : None :)
OS : Linux
PATH:
/
home
/
batcwwjx
/
old
/
public_html
/
.
/
wp-content
/
plugins
/
wp-rocket
/
inc
/
3rd-party
/
plugins
/
mobile
/
amp.php
/
/
<?php defined( 'ABSPATH' ) || die( 'Cheatin’ uh?' ); /** * Removes Minification, DNS Prefetch, LazyLoad, Defer JS when on an AMP version of a post with the AMP for WordPress plugin from Auttomatic * * @since 2.8.10 Compatibility with wp_resource_hints in WP 4.6 * @since 2.7 * * @author Remy Perona */ function rocket_disable_options_on_amp() { if ( defined( 'AMP_QUERY_VAR' ) && function_exists( 'is_amp_endpoint' ) && is_amp_endpoint() ) { if ( function_exists( 'wp_resource_hints' ) ) { remove_filter( 'wp_resource_hints', 'rocket_dns_prefetch', 10, 2 ); } else { remove_filter( 'rocket_buffer', 'rocket_dns_prefetch_buffer', 12 ); } remove_filter( 'rocket_buffer', 'rocket_minify_process', 13 ); remove_filter( 'rocket_buffer', 'rocket_defer_js', 14 ); remove_filter( 'rocket_buffer', array( Rocket_Critical_CSS::get_instance(), 'async_css' ), 15 ); remove_filter( 'rocket_buffer', array( Rocket_Critical_CSS::get_instance(), 'insert_critical_css_buffer' ), 14 ); remove_filter( 'rocket_buffer', 'rocket_minify_html', 20 ); add_filter( 'do_rocket_lazyload', '__return_false' ); // this filter is documented in inc/front/protocol.php. $do_rocket_protocol_rewrite = apply_filters( 'do_rocket_protocol_rewrite', false ); if ( ( get_rocket_option( 'do_cloudflare', 0 ) && get_rocket_option( 'cloudflare_protocol_rewrite', 0 ) || $do_rocket_protocol_rewrite ) ) { remove_filter( 'rocket_buffer', 'rocket_protocol_rewrite', PHP_INT_MAX ); remove_filter( 'wp_calculate_image_srcset', 'rocket_protocol_rewrite_srcset', PHP_INT_MAX ); } } } add_action( 'wp', 'rocket_disable_options_on_amp' );
/home/batcwwjx/old/public_html/./wp-content/plugins/wp-rocket/inc/3rd-party/plugins/mobile/amp.php