WP_Admin_Bar::_render_container( object $node )


Description Description


Parameters Parameters

$node

(object) (Required)


Top ↑

Source Source

File: wp-includes/class-wp-admin-bar.php

	final protected function _render_container( $node ) {
		if ( $node->type != 'container' || empty( $node->children ) ) {
			return;
		}

		echo '<div id="' . esc_attr( 'wp-admin-bar-' . $node->id ) . '" class="ab-group-container">';
		foreach ( $node->children as $group ) {
			$this->_render_group( $group );
		}
		echo '</div>';
	}


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.