[wp-hackers] need to get a list of categories from an old wp install

Sharon Chambers sharon at BrewerRadio.com
Thu Oct 15 20:52:00 UTC 2009


OK, I think I got it...
Join wp_terms to the taxonomy table of type 'category'...

Thanks!

-----Original Message-----
From: wp-hackers-bounces at lists.automattic.com [mailto:wp-hackers-bounces at lists.automattic.com] On Behalf Of Adriaan Pelzer
Sent: Thursday, October 15, 2009 4:43 PM
To: wp-hackers at lists.automattic.com
Subject: Re: [wp-hackers] need to get a list of categories from an old wp install

If I do a "SELECT name FROM wp_terms;", I get all my categories.




More information about the wp-hackers mailing list