wp_render_widget
wp_render_widget ( $widget_id, $sidebar_id )
Parameters:- (string) widget_id Widget ID.
- (string) sidebar_id Sidebar ID.
Returns:Defined at: - Introduced in WordPress: 5.8.0
- Deprecated in WordPress: —
Description
Calls the render callback of a widget and returns the output.