WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #15067, comment 9


Ignore:
Timestamp:
05/09/11 10:27:18 (3 years ago)
Author:
scribu
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #15067, comment 9

    initial v1  
    33Did you look at the function definition recently? 
    44 
    5 {{{function add_menu_page( $page_title, $menu_title, $capability, $menu_slug, $function = '', $icon_url = '', $position = NULL ) {}}} 
     5{{{ 
     6function add_menu_page( $page_title, $menu_title, $capability, $menu_slug, $function = '', $icon_url = '', $position = NULL ) { 
     7}}} 
    68 
    79$menu_title could default to $page_title and $capability could default to 'manage_options'. So, that would leave a total of 2 required arguments out of 7.