Jak omezit a smazat post revisions ve WordPressu

DELETE
FROM `wp_posts`
WHERE `post_type` = 'revision' AND `post_modified` <= '2020-12-31';