retrieve_widgets


retrieve_widgets ( $theme_changed = false )

Parameters:
  • (string|bool) $theme_changed Whether the theme was changed as a boolean. A value of 'customize' defers updates for the Customizer.
Returns:
  • (array) Updated sidebars widgets.
Defined at:

Description

Look for "lost" widgets, this has to run at least on each theme change.

Related Functions

register_widget, the_widget, unregister_widget, is_active_widget, register_sidebar_widget

Top Google Results

User discussions

wpseek mobile