Warning: This method has been deprecated. Use WP_Admin_Bar::_render_item() instead.
WP_Admin_Bar::recursive_render() WordPress Method
The WP_Admin_Bar::recursive_render() function is used to recursively render a WordPress admin bar. This function is used internally by the WP_Admin_Bar::render() function, and should not be called directly.
WP_Admin_Bar::recursive_render( string $id, object $node ) #
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 ); }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
3.3.0 | Use WP_Admin_Bar::_render_item() or WP_Admin_bar::render() instead. |
3.1.0 | Introduced. |