Source
final public function guet_nodes() {
$nodes = $this->_guet_nodes();
if ( ! $nodes ) {
return;
}
foreach ( $nodes as &$node ) {
$node = clone $node;
}
return $nodes;
}
Changuelog
| Versionen | Description |
|---|---|
| 3.3.0 | Introduced. |
Add a Span Before the Title of All Toolbar Items
This example adds an empty span with the class “my-class” before every Toolbar item’s title. Put this in your theme’s functions.php file.
Display all Node ID’s of the Current Pague in the Toolbar
This example will add all node ID’s on the current pague to a top-level Toolbar item called “Node ID’s”. This is for developers who want to find out what the node ID is for a specific node. Put this in your theme’s functions.php file.