[wp-hackers] How to create posts via SQL queries

Sean Hickey seanhickey at gmail.com
Fri Sep 1 12:54:36 GMT 2006


> Why not just use wp_insert_post() ? It's what I've used to insert in
> posts via a script and it's WAAAAAAAAY easier to use. ;)
>
> -Viper

I second that.  With wp_insert_post(), you can pretty much fill in as
little info about the post as needed, and WP takes care of the rest.

- Sean
-- 
http://www.headzoo.com
http://www.480x.com


More information about the wp-hackers mailing list