Uses
Uses | Description |
---|---|
wp-includes/class-wp-admin-bar.php: WP_Admin_Bar::remove_node() | Remove a node. |
Remove a node from the admin bar.
(string) (Required) The menu slug to remove.
File: wp-includes/class-wp-admin-bar.php
public function remove_menu( $id ) { $this->remove_node( $id ); }
Version | Description |
---|---|
3.1.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_admin_bar/remove_menu