Switch language

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




wp_list_widget_controls [ WordPress Function ]

wp_list_widget_controls ( $sidebar )
Parameters:
  • (string) $sidebar id slug of the sidebar
Defined at:



Show the widgets and their settings for a sidebar.

Used in the the admin widget config screen.

Source


<?php
function wp_list_widget_controls$sidebar ) {
    
add_filter'dynamic_sidebar_params''wp_list_widget_controls_dynamic_sidebar' );

    echo 
"<div id='$sidebar' class='widgets-sortables'>\n";

    
$description wp_sidebar_description$sidebar );

    if ( !empty( 
$description ) ) {
        echo 
"<div class='sidebar-description'>\n";
        echo 
"\t<p class='description'>$description</p>";
        echo 
"</div>\n";
    }

    
dynamic_sidebar$sidebar );
    echo 
"</div>\n";
}
?>

Examples [ wp-snippets.com ]

Google Arama Sonuçlarý

Dahasý ...

Kullanýcý Tartýþmalarý [ wordpress.org ]

- Bulunamadý -

Yeni bir konu yaz ...

0 User Note(s)

Henüz yok. Ýlk sen ol!

Yeni Ekle ...



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