Switch language
wpseek on Twitter


A WordPress-centric search engine for devs and theme authors




unregister_sidebar [ ]

unregister_sidebar ( $name )
Parameters:
  • (string) $name The ID of the sidebar when it was added.
Uses:
  • $wp_registered_sidebars
Defined at:
Codex



Removes a sidebar from the list.

Source

function unregister_sidebar( $name ) {
	global $wp_registered_sidebars;

	if ( isset( $wp_registered_sidebars[$name] ) )
		unset( $wp_registered_sidebars[$name] );
}

Top Google Search Results

More ...

User Note(s)