This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.
BP_Core::load_integrations()
Load integrations files
Description
Source
File: bp-core/classes/class-bp-core.php
159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 | private function load_integrations() { $bp = buddypress(); /** * Filters the included and optional integrations. * * @since BuddyBoss 1.0.0 * * @param array $value Array of included and optional integrations. */ $bp ->available_integrations = apply_filters( 'bp_integrations' , array ( 'appboss' , 'learndash' , )); $integration_dir = $bp ->plugin_dir . '/bp-integrations/' ; foreach ( $bp ->available_integrations as $integration ) { $file = "{$integration_dir}{$integration}/bp-{$integration}-loader.php" ; if ( file_exists ( $file )) { include $file ; } } /** * Fires after the loading of individual integrations. * * @since BuddyBoss 1.0.0 */ do_action( 'bp_core_inetegrations_included' ); } |
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.