BBP_Admin::network_admin_menus()

Add the network admin menus

Description

Source

File: bp-forums/admin/admin.php

264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
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

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.