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_ajax_widgets_order, get_sidebar, wp_list_widget_controls_dynamic_sidebar, wp_widgets_init

Top Google Results

User discussions

wpseek mobile