[Bb-trac] Re: [bbPress] #554: hooks for admin-base.php

bbPress bb-trac at lists.bbpress.org
Sat Jan 27 18:36:52 GMT 2007


#554: hooks for admin-base.php
-------------------------+--------------------------------------------------
 Reporter:  Null         |        Owner:        
     Type:  enhancement  |       Status:  closed
 Priority:  low          |    Milestone:  0.80  
Component:  integration  |      Version:  0.74  
 Severity:  normal       |   Resolution:  fixed 
 Keywords:               |  
-------------------------+--------------------------------------------------
Comment (by mdawaffe):

 We need to write a nice API for menu manipulation.  This will have to be
 part of it.

 But you can do this now "manually".

 Let's say the function {{{my_cool_plugin_admin_page}}} is the name of the
 function that generates the HTML of your plugin's admin_page.

 You can {{{add_action( 'my_cool_plugin_admin_page_pre_head',
 'my_excellent_function' );}}}

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


More information about the Bb-trac mailing list