PATH:
home
/
letacommog
/
aperobusiness
/
wp-content
/
plugins
/
wp-rocket
/
inc
/
3rd-party
/
plugins
<?php defined( 'ABSPATH' ) || die( 'Cheatin’ uh?' ); if ( class_exists( 'BuddyPress' ) ) : /** * Conflict with BuddyPress: don't apply LazyLoad on BuddyPress profil pages & group creation * * @since 2.8.15 Improve checks for user profile & disable for cover images * @since 2.6.9 */ if ( function_exists( 'bp_is_user_profile' ) ) : /** * Prevent lazyload if on a BuddyPress profil page * * @param Bool $run_filter Do lazyload value. * @return Bool False if on a BuddyPress profil page, initial value otherwise */ function rocket_deactivate_lazyload_on_buddypress_profil_pages( $run_filter ) { if ( bp_is_user_profile() ) { return false; } return $run_filter; } add_filter( 'do_rocket_lazyload', 'rocket_deactivate_lazyload_on_buddypress_profil_pages' ); add_filter( 'do_rocket_lazyload_iframes', 'rocket_deactivate_lazyload_on_buddypress_profil_pages' ); endif; if ( function_exists( 'bp_is_group_creation_step' ) && function_exists( 'bp_is_group_admin_screen' ) ) : /** * Prevent lazyload if on a BuddyPress group creation page * * @param Bool $run_filter Do lazyload value. * @return Bool False if on a BuddyPress profil page, initial value otherwise */ function rocket_deactivate_lazyload_on_buddypress_group_pages( $run_filter ) { if ( bp_is_group_creation_step( 'group-avatar' ) || bp_is_group_creation_step( 'group-cover-image' ) || bp_is_group_admin_screen( 'group-avatar' ) || bp_is_group_admin_screen( 'group-cover-image' ) ) { return false; } return $run_filter; } add_filter( 'do_rocket_lazyload', 'rocket_deactivate_lazyload_on_buddypress_group_pages' ); add_filter( 'do_rocket_lazyload_iframes', 'rocket_deactivate_lazyload_on_buddypress_group_pages' ); endif; 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]