On this page
WP_Admin_Bar::_set_node( array $args )
Parameters
$argsarray Required
Source
File: wp-includes/class-wp-admin-bar.php. View all references
final protected function _set_node( $args ) {
$this->nodes[ $args['id'] ] = (object) $args;
}
Related
Used By
| Used By | Description |
|---|---|
| WP_Admin_Bar::_bind() wp-includes/class-wp-admin-bar.php | |
| WP_Admin_Bar::add_node() wp-includes/class-wp-admin-bar.php | Adds a node to the menu. |
Changelog
| Version | Description |
|---|---|
| 3.3.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_admin_bar/_set_node