Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 24,006
- How-to & Troubleshooting
- 129,530
- Creating & Extending
- 25,790
- Requests & Feedback
- 9,496
- Third Party Plugins
- 9,784
- Showcase
- 3,316
- Ideas
- 1,397
- Miscellaneous
- 9,170
-
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