Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 24,005
- How-to & Troubleshooting
- 129,529
- Creating & Extending
- 25,790
- Requests & Feedback
- 9,496
- Third Party Plugins
- 9,784
- Showcase
- 3,316
- Ideas
- 1,397
- Miscellaneous
- 9,170
-
This will work anyway if bp is switched off and when someone switch on it he will give a redeclaration error
Look here:
$active_plugins = get_site_option( 'active_sitewide_plugins' );
if ( isset( $active_plugins['buddypress/bp-loader.php'] ) )
require_once( BP_PLUGIN_DIR . 'bp-core.php' );
or making a system of hooks in hooks i made fo bpdev plugins to prevent “undefinied functions error”
See also: WordPress.org • bbPress.org • BuddyPress.org • Matt • Blog RSS