[wp-hackers] Best way to delete post revisions

George Mamadashvili georgemamadashvili at gmail.com
Mon Jan 23 12:27:46 UTC 2012


What is a best way to delete post revisions and its metadata?

Run SQL query with joins, or get ID of revisions and then run foreach loop
with wp_delete_post()?

Thanks


More information about the wp-hackers mailing list