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
28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 | 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.