wpseek.com
A WordPress-centric search engine for devs and theme authors



_wp_sidebars_changed › WordPress Function

Since3.3.0
Deprecatedn/a
_wp_sidebars_changed ( No parameters )
Access:
  • private
Defined at:
Codex:

Handle sidebars config after theme change



Source

function _wp_sidebars_changed() {
	global $sidebars_widgets;

	if ( ! is_array( $sidebars_widgets ) ) {
		$sidebars_widgets = wp_get_sidebars_widgets();
	}

	retrieve_widgets( true );
}