Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 24,003
- How-to & Troubleshooting
- 129,526
- Creating & Extending
- 25,790
- Requests & Feedback
- 9,495
- Third Party Plugins
- 9,782
- Showcase
- 3,316
- Ideas
- 1,397
- Miscellaneous
- 9,169
-
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