BP_Core_Gdpr::load_on_bp_dependency()
Function to load all the dependencies of GDPR classes.
Description
Source
File: bp-core/gdpr/class-bp-core-gdpr.php
function load_on_bp_dependency() { if ( bp_is_active( "xprofile" ) ) { BP_Xprofile_Export::instance(); } if ( bp_is_active( "activity" ) ) { BP_Activity_Export::instance(); } if ( bp_is_active( "notifications" ) ) { BP_Notification_Export::instance(); } if ( bp_is_active( "messages" ) ) { BP_Message_Export::instance(); } if ( bp_is_active( "groups" ) ) { BP_Group_Export::instance(); BP_Group_Membership_Export::instance(); } if ( bp_is_active( 'friends' ) ) { BP_Friendship_Export::instance(); } if ( bp_is_active( "settings" ) ) { BP_Settings_Export::instance(); } if ( bp_is_active( "forums" ) ) { new BP_Bbp_Gdpr_Forums(); new BP_Bbp_Gdpr_Replies(); new BP_Bbp_Gdpr_Topics(); } }
Changelog
Version | Description |
---|---|
BuddyBoss 1.0.0 | Introduced. |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.