[Bb-trac] Re: [bbPress] #623: Need a hook to extend the admin menu

bbPress bb-trac at lists.bbpress.org
Mon Mar 26 04:52:53 GMT 2007


#623: Need a hook to extend the admin menu
-------------------------+--------------------------------------------------
 Reporter:  Null         |        Owner:         
     Type:  enhancement  |       Status:  closed 
 Priority:  normal       |    Milestone:  1.0    
Component:  integration  |      Version:  0.8.1  
 Severity:  normal       |   Resolution:  invalid
 Keywords:               |  
-------------------------+--------------------------------------------------
Comment (by sambauers):

 You can leave the numbers blank and they will just add in order after the
 existing menu items

 So...

 {{{
 $bb_menu[] = array(__('Some Plugin'), 'use_keys', 'some_plugin');
 $bb_submenu['some_plugin'][] = array(__('Whatever'), 'use_keys',
 'some_plugin');
 $bb_submenu['some_plugin'][] = array(__('Yada Yada'), 'use_keys',
 'some_plugin_yadayada');
 }}}

 ...will work.

-- 
Ticket URL: <http://trac.bbpress.org/ticket/623#comment:4>
bbPress <http://bbpress.org/>
Innovative forum development


More information about the Bb-trac mailing list