Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

mysql 1 hour ago

DELETE FROM wp_posts
 WHERE post_date < DATE_SUB(NOW(), INTERVAL 1 HOUR)
   AND post_status = 'publish'
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #mysql #hour
ADD COMMENT
Topic
Name
5+7 =