Changes between Initial Version and Version 1 of Ticket #15067, comment 9
- Timestamp:
- 05/09/2011 10:27:18 AM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #15067, comment 9
initial v1 3 3 Did you look at the function definition recently? 4 4 5 {{{function add_menu_page( $page_title, $menu_title, $capability, $menu_slug, $function = '', $icon_url = '', $position = NULL ) {}}} 5 {{{ 6 function add_menu_page( $page_title, $menu_title, $capability, $menu_slug, $function = '', $icon_url = '', $position = NULL ) { 7 }}} 6 8 7 9 $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.