WP_Admin_Bar::_set_node() WordPress Method
The WP_Admin_Bar::_set_node() method is used to set the properties for a single node in the admin bar. This method is called by the add_node() and add_menu() methods.
WP_Admin_Bar::_set_node( array $args ) #
Parameters
- $args
(array)(Required)
Source
File: wp-includes/class-wp-admin-bar.php
final protected function _set_node( $args ) { $this->nodes[ $args['id'] ] = (object) $args; }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
3.3.0 | Introduced. |