Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

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);
Source by catswhocode.com #
 
PREVIOUS NEXT
Tagged: #wordpress #delete #post #revisions #older #date
ADD COMMENT
Topic
Name
6+3 =