WP_Admin_Bar::recursive_render

Advertisement

Deprecated Deprecated

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

Summery Summery

Renders toolbar items recursively.

Syntax Syntax

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

Parameters Parameters

$id

(Required) Unused.

$node

(Required)

Source Source

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

		add_action( 'admin_bar_menu', 'wp_admin_bar_my_account_item', 7 );
		add_action( 'admin_bar_menu', 'wp_admin_bar_recovery_mode_menu', 8 );

		// Site-related.

Advertisement

Changelog Changelog

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

See also See also

Advertisement

Leave a Reply