Quantcast
Channel: WordPress › Support » Forum: Hacks - Recent Topics
Viewing all articles
Browse latest Browse all 8245

Arevico on "Should I use WP_List_Tables"

$
0
0

Hi,

I've a question, regarding creating overview tables. I'm currently developping a new plugin and I need to select some data from a database and list it in a table. My first instinct is to use the WP_list_tables class, but the documentation lists that plugin developers shouldn't realy use it
(This class's access is marked as private. That means it is not intended for use by plugin and theme developers as it is subject to change without warning in any future WordPress release. If you would still like to make use of the class, you should make a copy to use and distribute with your own project, or else use it at your own risk.)

So I have three options
- Code my own layout and table
- Use the class provided, giving the possibility that the plugin will break oneday
- Use a table but use all WordPress css classes so the layout matches.

Which is preferred and is there an alternative that I can use?


Viewing all articles
Browse latest Browse all 8245

Trending Articles