START TRANSACTION;
DELETE FROM wp_posts
WHERE post_type = 'flamingo_inbound'
AND post_date < DATE_SUB(CURDATE(), INTERVAL 3 MONTH);
ROLLBACK;
Last active
June 5, 2024 13:59
-
-
Save seemly/dc54abc0ec5bafe50174f975394912e5 to your computer and use it in GitHub Desktop.
MySQL query to delete Flamingo WordPress plugin Inbound Messages created more than 3 months ago.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment