id summary reporter owner description type status priority milestone component version severity resolution keywords cc focuses
11332 Filters in the admin header dd32 dd32 "I know that we'll be looking into changes needed for the header for the MU merge after 2.9 ships, however, I think it'd be very useful to add some hooks to the header now..
Occasionally plugins have a need to add content to the headerbar, be it adding an extra section beside whats there, or modifying it. I've seen some plugins use Javascript to achieve this so far, and another using the favourite actions filter as an action to output its content before the dropdown was displayed..
I'd like to propose 2 new filters:
1. in_admin_header - allows adding extra content to the header
2. admin_user_info_links - Filters the Hello, user | Turbo | Logout links
The first would be useful for plugins to add a div or anything else to the header section, The latter as being rather useful for user-related plugins, giving them the ability to perform other tasks straight from there (In my case, A link to jump to super-user mode)
Any feedback on them is appreciated, I was surprised to find that there were no filters in this section of the document yet." defect (bug) closed normal 3.0 Administration 2.9 normal fixed has-patch