Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Would this plugin be possible? Adding another tab to a BP group to allow us to display ANYTHING in i

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.

Skip to toolbar