WP_Admin_Bar::recursive_render()
Deprecated from version 3.3.0. It is no longer supported and can be removed in future releases. Use
WP_Admin_Bar::_render_item() or WP_Admin_bar::render()
instead.Renders toolbar items recursively.
Method of the class: WP_Admin_Bar{}
No Hooks.
Return
null
. Nothing (null).
Usage
$WP_Admin_Bar = new WP_Admin_Bar(); $WP_Admin_Bar->recursive_render( $id, $node );
- $id(string) (required)
- Unused.
- $node(object) (required)
- -
Notes
Changelog
Since 3.1.0 | Introduced. |
Deprecated since 3.3.0 | Use WP_Admin_Bar::_render_item() or WP_Admin_bar::render() instead. |
WP_Admin_Bar::recursive_render() WP Admin Bar::recursive render code WP 6.6.2
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 ); }