Removes a node from the admin bar.
$idstringrequired
public function remove_menu( $id ) {
$this->remove_node( $id );
}
| Version | Description |
|---|---|
| 3.1.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_admin_bar/remove_menu