Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 24,011
- How-to & Troubleshooting
- 129,532
- Creating & Extending
- 25,787
- Requests & Feedback
- 9,496
- Third Party Plugins
- 9,784
- Showcase
- 3,316
- Ideas
- 1,405
- Miscellaneous
- 9,170
-
I experienced the same issue as @shaunmacrae. I’m assuming /plugins/bp-custom.php is loaded before /plugins/buddypress/bp-groups/bp-groups-classes.php. So, I put my new class in /plugins/bp-group-project-ext.php and added the following to /plugins/bp-custom.php:
function group_project_plugin_init() {
require( dirname( __FILE__ ) . ‘/bp-group-project-ext.php’ );
}
add_action( ‘bp_init’, ‘group_project_plugin_init’ );
This works, but I’m not sure if it’s the appropriate or most elegant solution.
See also: WordPress.org • bbPress.org • BuddyPress.org • Matt • Blog RSS