Remove a node.
Parameters
$idstringrequired- The ID of the item.
Source
public function remove_node( $id ) {
$this->_unset_node( $id );
}
Changelog
| Version | Description |
|---|---|
| 3.1.0 | Introduced. |
Remove a node.
$idstringrequiredpublic function remove_node( $id ) {
$this->_unset_node( $id );
}
| Version | Description |
|---|---|
| 3.1.0 | Introduced. |
You must log in before being able to contribute a note or feedback.
The following code removes the Customizer links, Background and Header from the Toolbar drop-downs:
The following code removes the WP logo and the Comments menu: