Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 23,961
- How-to & Troubleshooting
- 129,256
- Creating & Extending
- 25,784
- Requests & Feedback
- 9,479
- Third Party Plugins
- 9,784
- Showcase
- 3,317
- Ideas
- 1,402
- Miscellaneous
- 9,165
-
On top of everyone’s ideas, be sure to check out how to correctly attach your plugin to bp_init:
https://codex.buddypress.org/how-to-guides/make-your-plugin-buddypress-aware-v1-2/
Because of the way that WordPress loads plugins, its possible that bp_init is firing before your plugin has added the hook. If that’s the case, your function is safe to run and needs to be called directly as a fall-back.
See also: WordPress.org • bbPress.org • BuddyPress.org • Matt • Blog RSS