Opened 14 years ago
Closed 9 years ago
#16987 closed enhancement (duplicate)
Allow registering a WP_List_Table class when registering post types
Reported by: | sanchothefat | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | Posts, Post Types | Keywords: | dev-feedback needs-patch |
Focuses: | Cc: |
Description
This would go a long way towards making the post types feature more complete. I discovered while converting Links from the native format into a post type that the admin lists are still very clunky to work with, especially with quick edit obliterating non-underscored post meta and the quick edit form not being configurable enough on the server-side to make it useful for more unusual post type requirements.
Code-wise it would be good to work with it in a similar way to the Walker_Nav_Menu class eg. so I could extend the WP_Posts_List class to overwrite certain elements for my post type.
Change History (8)
#1
@
14 years ago
- Keywords 2nd-opinion added
- Milestone changed from Awaiting Review to Future Release
#3
@
11 years ago
- Keywords close added
The list class table is more extensible now, and it's much easier to change the default columns. Close?
#4
follow-up:
↓ 6
@
11 years ago
Can you filter which class is used now? Overloading the class by extending it would be handy still.
The main problem for me was quick edit. If the issues there are solved with post meta then by all means close the ticket.
#6
in reply to:
↑ 4
@
11 years ago
Replying to sanchothefat:
Can you filter which class is used now? Overloading the class by extending it would be handy still.
No, you can't choose a custom class. See #18449
The list table API will be made public (and therefore extensible) for WP 3.2.
Not sure about the parameter for register_post_type() though.
Punting to future for now.