[wp-hackers] Best way to delete post revisions

Azizur Rahman prodevstudio+wordpress at gmail.com
Mon Jan 23 14:37:43 UTC 2012


Hi George,

Read the user guide:
http://codex.wordpress.org/Editing_wp-config.php#Post_Revisions


Kind Regards,
Azizur Rahman



On Mon, Jan 23, 2012 at 12:27 PM, George Mamadashvili
<georgemamadashvili at gmail.com> wrote:
> 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
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers


More information about the wp-hackers mailing list