[wp-trac] [WordPress Trac] #18357: Add action to do stuff before the admin menu is rendered

WordPress Trac wp-trac at lists.automattic.com
Mon Aug 8 23:34:15 UTC 2011


#18357: Add action to do stuff before the admin menu is rendered
----------------------------+------------------------------
 Reporter:  llucax          |       Owner:
     Type:  enhancement     |      Status:  new
 Priority:  normal          |   Milestone:  Awaiting Review
Component:  Administration  |     Version:  3.2.1
 Severity:  trivial         |  Resolution:
 Keywords:  has-patch       |
----------------------------+------------------------------

Comment (by llucax):

 Maybe this is a stupid example, but something like:

 {{{
 function f()
 {
     echo "<div id=\"someid\">Some HTML before the menu</div>\n";
 }
 add_action('before_admin_menu_header', 'f');
 }}}

 If you like to know exactly what kind of HTML I like to add before the
 menu, I really don't know, it was a graphic designer request. We need to
 customize the admin theme.

 PS: This is the first time I'm posting a patch here, after I removed the
 'reporter-feedback' I thought maybe I shouldn't. Please let me know if I
 should keep it until you think you don't need more feedback from me.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/18357#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list