Switch language

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




wp_widgets_add_menu [ WordPress Function ]

wp_widgets_add_menu ( No parameters )
Uses:
  • $submenu
Defined at:



Append the Widgets menu to the themes main menu.

Source


<?php
function wp_widgets_add_menu() {
    global 
$submenu;
    
$submenu['themes.php'][7] = array( __'Widgets' ), 'edit_theme_options''widgets.php' );
    
ksort$submenu['themes.php'], SORT_NUMERIC );
}
?>

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