/home/techb158/l2hypotheques.com/wp-content/plugins/complianz-gdpr/integrations/plugins
NameSizeModeActions
elementor-pro/-0755rm
acf.php11620644editdlrm
activecampaign.php9680644editdlrm
addtoany.php22280644editdlrm
advanced-ads.php6450644editdlrm
advanced-nocaptcha-recaptcha.php22210644editdlrm
agile-store-locator.php7850644editdlrm
amp.php72310644editdlrm
avada-maps.php770644editdlrm
bb-powerpack.php16490644editdlrm
beaver-builder.php2530644editdlrm
beehive.php32650644editdlrm
burst-statistics.php45780644editdlrm
buttonizer.php4540644editdlrm
caos-host-analytics-local.php27480644editdlrm
citadela-directory.php9650644editdlrm
clarity.php19150644editdlrm
colibriwp.php11370644editdlrm
contact-form-7.php84530644editdlrm
content-views-plugin.php1870644editdlrm
disable-and-remove-google-fonts.php6950644editdlrm
divi-plugin.php1380644editdlrm
divi.php37400644editdlrm
easy-fancybox.php4670644editdlrm
easy-liveblogs.php3840644editdlrm
elementor.php95820644editdlrm
embed-google-fonts.php6380644editdlrm
facebook-for-woocommerce.php8700644editdlrm
facebook-for-wordpress.php10550644editdlrm
flexible-map.php18740644editdlrm
forminator-addon-class-v2.php25480644editdlrm
forminator-addon-class.php21460644editdlrm
forminator-addon-registration.php6830644editdlrm
forminator.php32400644editdlrm
funnelkit.php41390644editdlrm
g1-gmaps.php11520644editdlrm
generatepress-maps.php7900644editdlrm
geo-my-wp.php10320644editdlrm
google-analytics-dashboard-for-wp.php42350644editdlrm
google-maps-easy.php13490644editdlrm
google-site-kit.php46220644editdlrm
google-tagmanager-for-wordpress.php48570644editdlrm
gravity-forms.php58120644editdlrm
greenshift.php18790644editdlrm
happyforms.php37590644editdlrm
hcaptcha.php10870644editdlrm
index.php280644editdlrm
invisible-recaptcha.php6120644editdlrm
jetpack.php10550644editdlrm
lazy-loader.php10200644editdlrm
lead-forensics.php3780644editdlrm
local-google-fonts.php6780644editdlrm
mailchimp-woocommerce.php6040644editdlrm
map-multi-marker.php13700644editdlrm
meks-easy-maps.php8540644editdlrm
monsterinsights.php53390644editdlrm
novo-map.php17770644editdlrm
nudgify.php2350644editdlrm
olympus-google-fonts.php6680644editdlrm
omgf.php6270644editdlrm
omnisend.php4260644editdlrm
osm.php13620644editdlrm
pinterest-for-woocommerce.php12770644editdlrm
pixel-caffeine.php8620644editdlrm
pixelyoursite-bing.php2610644editdlrm
pixelyoursite-pinterest.php7500644editdlrm
pixelyoursite-pro.php7760644editdlrm
pixelyoursite.php8860644editdlrm
podcast-player.php4880644editdlrm
presto-player.php11030644editdlrm
primavera.php3370644editdlrm
qtranslate.php9510644editdlrm
rate-my-post.php4770644editdlrm
simple-business-directory.php10460644editdlrm
so-widgets-bundle.php9100644editdlrm
sumo.php8320644editdlrm
super-socializer.php9060644editdlrm
superfly-menu.php6280644editdlrm
theeventscalendar.php6500644editdlrm
themify-builder.php3150644editdlrm
thrive.php39650644editdlrm
tidio-live-chat.php6160644editdlrm
trustpulse.php2650644editdlrm
ultimate-addons-elementor.php22190644editdlrm
uncode.php17650644editdlrm
use-any-font.php6340644editdlrm
user-registration-pro.php9900644editdlrm
user-registration.php10450644editdlrm
volocation.php15810644editdlrm
weglot-translate.php3490644editdlrm
welaunch-store-locator.php14380644editdlrm
woocommerce-google-analytics-integration.php50520644editdlrm
woocommerce-google-analytics-pro.php41850644editdlrm
woocommerce-variation-swatches.php5920644editdlrm
woocommerce.php2560644editdlrm
wp-consent-api.php770644editdlrm
wp-donottrack.php2810644editdlrm
wp-google-map-plugin.php21010644editdlrm
wp-google-maps-widget.php9950644editdlrm
wp-google-maps.php25550644editdlrm
wp-rocket.php30250644editdlrm
wp-store-locator.php11700644editdlrm
wp-video-lightbox.php4290644editdlrm
wpadverts.php44650644editdlrm
wpforms.php26620644editdlrm
yotu-wp.php35610644editdlrm
Edit: /home/techb158/l2hypotheques.com/wp-content/plugins/complianz-gdpr/integrations/plugins/thrive.php (3965B)
replace_tags( $html ); } return $html; } add_filter( 'tve_landing_page_content', 'cmplz_thrive_page_content_cookieblocker' ); /** * Whitelist youtube and video from being blocked, in the text/templates scripts of the Trhive quiz builder * * @param $tags * * @return mixed */ function cmplz_thrive_whitelist( $tags ) { $tags[] = '//www.youtube.com/embed/<#='; $tags[] = '//player.vimeo.com/video/<#='; return $tags; } add_filter( 'cmplz_whitelisted_script_tags', 'cmplz_thrive_whitelist' ); /** * Add inline css, as Thrive removes it * * @param string $html * * @return string */ function cmplz_thrive_inline_css( $html ) { $html .= ''; return $html; } add_filter( "cmplz_banner_html", 'cmplz_thrive_inline_css' ); /** * Filter cookie blocker output */ function cmplz_thrive_cookieblocker( $output ) { $iframe_pattern = '/thrv_responsive_video[ |\"][^>]+?data-url="(.*?)">/is'; if ( preg_match_all( $iframe_pattern, $output, $matches, PREG_PATTERN_ORDER ) ) { foreach ( $matches[0] as $key => $total_match ) { $placeholder = ''; // Determine if it's YouTube or Vimeo based on the URL in the data-url attribute if ( strpos( $matches[1][ $key ], 'youtube.com' ) !== false && cmplz_uses_thirdparty( 'youtube' ) ) { if ( cmplz_use_placeholder( 'youtube' ) && isset( $matches[1][ $key ] ) ) { $youtube_url = $matches[1][ $key ]; $placeholder = 'data-placeholder-image="' . cmplz_placeholder( false, stripcslashes( $youtube_url ) ) . '" '; } $new_match = str_replace( 'data-url', $placeholder . ' data-category="marketing" data-service="youtube" data-src-cmplz', $total_match ); } elseif ( strpos( $matches[1][ $key ], 'vimeo.com' ) !== false && cmplz_uses_thirdparty( 'vimeo' ) ) { if ( cmplz_use_placeholder( 'vimeo' ) && isset( $matches[1][ $key ] ) ) { $vimeo_url = $matches[1][ $key ]; $placeholder = 'data-placeholder-image="' . cmplz_placeholder( false, stripcslashes( $vimeo_url ) ) . '" '; } $new_match = str_replace( 'data-url', $placeholder . ' data-category="statistics" data-service="vimeo" data-src-cmplz', $total_match ); } else { // If it's neither Vimeo nor YouTube, skip this iteration and proceed to the next match continue; } $new_match = str_replace( 'thrv_responsive_video', 'thrv_responsive_video cmplz-placeholder-element', $new_match ); $output = str_replace( $total_match, $new_match, $output ); } } return $output; } add_filter( 'cmplz_cookie_blocker_output', 'cmplz_thrive_cookieblocker' ); /** * @param string $target * @param string $total_match * * @return string */ function cmplz_thrive_data_target( $target, $total_match ) { // Look for thrive class in iframe here if ( strpos( $total_match, 'data-url' ) !== false && ( cmplz_uses_thirdparty( 'youtube' ) || cmplz_uses_thirdparty( 'vimeo' ) ) ) { return 'data-url'; } return $target; } add_filter( 'cmplz_data_target', 'cmplz_thrive_data_target', 100, 2 ); /** * Initialize thrive youtube iframe * */ function cmplz_thrive_initDomContentLoaded() { if ( ! cmplz_uses_thirdparty( 'youtube' ) ) { return; } ob_start(); ?> ', '' ), '', $script ); wp_add_inline_script( 'cmplz-cookiebanner', $script ); } add_action( 'wp_enqueue_scripts', 'cmplz_thrive_initDomContentLoaded', PHP_INT_MAX );