[wp-trac] [WordPress Trac] #48702: [function] => add_submenu_page

WordPress Trac noreply at wordpress.org
Mon Nov 18 16:46:08 UTC 2019


#48702: [function] => add_submenu_page
--------------------------+------------------------------
 Reporter:  j3gaming      |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:  5.3
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by j3gaming):

 By the way, the default param is "null"
 https://developer.wordpress.org/reference/functions/add_submenu_page/

 This is what my call looks like, I'm excluding the 7th param.
 add_submenu_page('activeadmin', "Users", "Users", 'administrator',
 'Users', 'ActiveAdminUsers');

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/48702#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list