Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 23,840
- How-to & Troubleshooting
- 129,871
- Creating & Extending
- 25,908
- Requests & Feedback
- 9,552
- Third Party Plugins
- 9,832
- Showcase
- 3,316
- Ideas
- 1,402
- Miscellaneous
- 9,179
-
That would’ve been something like this:
`function bpe_setup_globals()
{
global $bp;
// some stuff
$bp->active_components = 1;
// some more stuff
}
add_action( ‘bp_setup_globals’, ‘bpe_setup_globals’ );`
It’s probably been 5 days to a week since the last upgrade.
Mine might not be the most elegant solution, but at least it makes sure that my plugin is working 