Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 23,851
- How-to & Troubleshooting
- 128,868
- Creating & Extending
- 25,736
- Requests & Feedback
- 9,445
- Third Party Plugins
- 9,772
- Showcase
- 3,317
- Ideas
- 1,388
- Miscellaneous
- 9,132
-
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