#17615 closed defect (bug) (invalid)
WP_List_Table::get_columns does not work for plugins
Reported by: | cyplo | Owned by: | westi |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 3.1.3 |
Component: | Plugins | Keywords: | |
Focuses: | Cc: |
Description
see Ticket #15386 - the ticket is closed, however I have the very same problem with 3.1.3 version and the solution example provided do not work for me.
Wordpress claims that there is no function as get_list_table , I have changed it to _get_list_table, after that change it does launch but returns a null object.
Change History (5)
#2
@
14 years ago
- Milestone changed from Awaiting Review to Future Release
- Owner set to westi
- Status changed from new to assigned
#4
@
10 years ago
- Resolution set to invalid
- Status changed from assigned to closed
_ prefixed functions are private to the class. If you need a copy of the list table, the best current way of doing this is grabbing a copy of that list table file, moving it to your plugin then renaming it for now. Since the lack of a return on a private function is expected, closing as invalid.
Note: See
TracTickets for help on using
tickets.
We do not support custom list table classes at the moment which is why there are no hooks for this.
When we have a stable api for them they will be supported - this was meant to happen in 3.2 but it missed the release unfortunately.