Remove a node.
Parameters
$id
stringrequired- 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.
$id
stringrequiredpublic 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: