#17615 closed defect (bug) (invalid)
WP_List_Table::get_columns does not work for plugins
| Reported by: | cyplo | Owned by: | westi |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Plugins | Version: | 3.1.3 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
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)
#4
@
12 years ago
- Resolution → invalid
- Status assigned → 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
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.