Filters sidebars_widgets to ensure the currently-rendered widget is the only widget in the current sidebar.
Parameters
$sidebars_widgets
arrayrequired- Sidebars widgets.
Source
* @param array $sidebars_widgets Sidebars widgets.
* @return array Filtered sidebars widgets.
*/
public function filter_sidebars_widgets_for_rendering_widget( $sidebars_widgets ) {
Changelog
Version | Description |
---|---|
4.5.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.