PATH:
home
/
letacommog
/
aperobusiness
/
wp-content
/
plugins
/
wp-rocket
/
inc
/
3rd-party
/
plugins
<?php defined( 'ABSPATH' ) || die( 'Cheatin’ uh?' ); if ( class_exists( 'WR2X_Admin' ) ) : /** * Conflict with WP Retina x2: Apply CDN on srcset attribute. * * @since 2.9.1 Use global $wr2x_admin * @since 2.5.5 * * @param string $url URL of the image. * @return string Updated URL with CDN */ function rocket_cdn_on_images_from_wp_retina_x2( $url ) { global $wr2x_admin; if ( ! method_exists( $wr2x_admin, 'is_pro' ) || ! $wr2x_admin->is_pro() ) { return $url; } $cdn_domain = get_option( 'wr2x_cdn_domain' ); if ( ! empty( $cdn_domain ) ) { return $url; } return get_rocket_cdn_url( $url, array( 'all', 'images' ) ); } add_filter( 'wr2x_img_retina_url', 'rocket_cdn_on_images_from_wp_retina_x2' ); add_filter( 'wr2x_img_url', 'rocket_cdn_on_images_from_wp_retina_x2' ); endif;
[+]
..
[-] s2member.php
[edit]
[-] wp-retina-2x.php
[edit]
[+]
slider
[-] autoptimize.php
[edit]
[-] disqus.php
[edit]
[+]
mobile
[-] wp-offload-s3-assets.php
[edit]
[-] wp-offload-s3.php
[edit]
[-] sumome.php
[edit]
[-] wp-print.php
[edit]
[+]
i18n
[-] varnish-http-purge.php
[edit]
[+]
cookies
[-] thrive-leads.php
[edit]
[-] envira-gallery.php
[edit]
[-] advanced-custom-fields.php
[edit]
[+]
security
[-] jetpack.php
[edit]
[-] mailchimp.php
[edit]
[+]
seo
[+]
rating
[+]
ecommerce
[-] appbanners.php
[edit]
[-] buddypress.php
[edit]
[-] geotargetingwp.php
[edit]
[-] simple-custom-css.php
[edit]
[-] wp-rest-api.php
[edit]
[-] custom-login.php
[edit]
[-] cookie-notice.php
[edit]
[+]
page-builder
[-] age-verify.php
[edit]