bp_groups_add_admin_menu()
Register the Groups component admin screen.
Description Description
Source Source
File: bp-groups/bp-groups-admin.php
function bp_groups_add_admin_menu() { // Add our screen. $hook = add_menu_page( _x( 'Groups', 'Admin Groups page title', 'buddypress' ), _x( 'Groups', 'Admin Groups menu', 'buddypress' ), 'bp_moderate', 'bp-groups', 'bp_groups_admin', 'div' ); // Hook into early actions to load custom CSS and our init handler. add_action( "load-$hook", 'bp_groups_admin_load' ); }
Changelog Changelog
Version | Description |
---|---|
1.7.0 | Introduced. |