Switch language

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




unregister_sidebar [ WordPress Function ]

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



Removes a sidebar from the list.

Source


<?php
function unregister_sidebar$name ) {
    global 
$wp_registered_sidebars;

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

Examples [ wp-snippets.com ]

Top Google zoekresultaten

Meer ...

0 User Note(s)

Nog geen één. Wees de eerste!

Nieuw toevoegen ...



HTML5 Powered with CSS3 / Styling, Performance & Integration, and Semantics