Summery Summery
Remove a node from the admin bar.
Syntax Syntax
Parameters Parameters
- $id
-
(Required) The menu slug to remove.
Source Source
File: wp-includes/class-wp-admin-bar.php
public function remove_menu( $id ) { $this->remove_node( $id ); }
Advertisement
Changelog Changelog
Version | Description |
---|---|
3.1.0 | Introduced. |