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