BBP_Admin::network_admin_menus()
Add the network admin menus
Description
Source
File: bp-forums/admin/admin.php
public function network_admin_menus() {
// Bail if plugin is not network activated
if ( ! is_plugin_active_for_network( bbpress()->basename ) )
return;
add_submenu_page(
'upgrade.php',
__( 'Update Forums', 'buddyboss' ),
__( 'Update Forums', 'buddyboss' ),
'manage_network',
'bbpress-update',
array( $this, 'network_update_screen' )
);
}
Changelog
| Version | Description |
|---|---|
| bbPress (r3689) | Introduced. |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.