wp_find_widgets_sidebar


wp_find_widgets_sidebar ( $widget_id )

Parameters:
  • (string) widget_id The widget ID to look for.
Returns:
  • (string|null) The found sidebar's ID, or null if it was not found.
Defined at:

Description

Finds the sidebar that a given widget belongs to.

Related Functions

wp_assign_widget_to_sidebar, wp_get_sidebar, wp_ajax_widgets_order, get_sidebar, wp_list_widget_controls_dynamic_sidebar

Top Google Results

User discussions

wpseek mobile