W3cubDocs

/WordPress

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;
	}

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_admin_bar/_set_node