WP_Admin_Bar::get_node()
Gets a node.
Method of the class: WP_Admin_Bar{}
No Hooks.
Return
Object|null
. Node.
Usage
$WP_Admin_Bar = new WP_Admin_Bar(); $WP_Admin_Bar->get_node( $id );
- $id(string) (required)
- -
Changelog
Since 3.3.0 | Introduced. |
WP_Admin_Bar::get_node() WP Admin Bar::get node code WP 6.6.2
final public function get_node( $id ) { $node = $this->_get_node( $id ); if ( $node ) { return clone $node; } }