W3cubDocs

/WordPress

WP_Admin_Bar::recursive_render( string $id, object $node )

This method has been deprecated. Use WP_Admin_Bar::_render_item() instead.

Renders toolbar items recursively.

Description

See also

Parameters

$id

(string) (Required) Unused.

$node

(object) (Required)

Source

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

public function recursive_render( $id, $node ) {
		_deprecated_function( __METHOD__, '3.3.0', 'WP_Admin_bar::render(), WP_Admin_Bar::_render_item()' );
		$this->_render_item( $node );
	}

Changelog

Version Description
3.3.0 Use WP_Admin_Bar::_render_item() or WP_Admin_bar::render() instead.
3.1.0 Introduced.

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