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

(string) (Required) Unused.

$node

(object) (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

This site uses Akismet to reduce spam. Learn how your comment data is processed.