WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

is there a built-in wordpress function to make the HTML or should I use plain-old PHP?

share|improve this question
See also comment here: core.trac.wordpress.org/ticket/17615 – edelwater Jun 11 '11 at 9:34
Sorry misread the question. Thought it was XML. Please ignore my crazy answer. In fact, I'll delete it my self. – RolandoMySQLDBA Jun 16 '11 at 15:34
up vote 10 down vote accepted

Since 3.1 there's a class WP_List_Table which makes it a hella lot easier to render tables for an array of data objects.

There's very little documentation (read: none) on it yet, but you can check out the source if you're familiar with PHP.

share|improve this answer
A good example of representing a random database table in \admin using new \WP_List_Table would be nice I think. There is not so much out there except for scribu's code in track. Maybe nice for the wiki. – edelwater Jun 11 '11 at 9:30
(so the code to use for the intermediate solution while the api is not there) – edelwater Jun 11 '11 at 9:52
+1 ... but as @Rarst said: The class will change and get an API with the next versions. – kaiser Jun 15 '11 at 21:15

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.