BP_Admin::admin_head()
Add some general styling to the admin area.
Description
Source
File: bp-core/classes/class-bp-admin.php
public function admin_head() { // Settings pages. remove_submenu_page( $this->settings_page, $this->settings_page ); // Network Admin Tools. remove_submenu_page( 'network-tools', 'network-tools' ); // Credits page. remove_submenu_page( 'index.php', 'bp-credits' ); }
Changelog
Version | Description |
---|---|
BuddyPress 1.6.0 | 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.