Answers for "wordpress delete post revisions older than date "sql""

SQL
0

wordpress delete post revisions older than date "sql"

DELETE a,b,c FROM wp_posts a WHERE a.post_type = 'revision' LEFT JOIN wp_term_relationships b ON (a.ID = b.object_id) LEFT JOIN wp_postmeta c ON (a.ID = c.post_id);
Posted by: Guest on May-13-2021

Code answers related to "SQL"

Browse Popular Code Answers by Language