WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #9657, comment 41


Ignore:
Timestamp:
03/23/2011 12:10:08 AM (10 years ago)
Author:
ptahdunbar
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #9657, comment 41

    initial v1  
    66* do_screen_meta();
    77
    8 The process is fairly simple. Hook into screen_meta; register a new "tab", then add sections to registered "tabs". do_screen_meta() handles the rest.
     8The process is fairly simple. Hook into screen_meta; register a new "tab", then add "sections" to registered tabs. do_screen_meta() handles the rest.
    99
    10 I've converting the existing screen_meta mess into the api so you can see how it looks. It's a first pass so it doesn't have any remove_* functions or proper hooks/filters. Check it out and let me know if this is the direction you guys want to go.
     10I've converted the existing screen_meta mess into the api so you can see how it looks. It's a first pass so it doesn't have any remove_* functions or proper hooks/filters. Check it out and let me know if this is the direction you guys want to go.
    1111
    1212You'll notice the tabs and sections use capabilities for some nice access control. They also use priorities so you can order the tabs and sections regardless of which was called first.