Jak omezit a smazat post revisions ve WordPressu

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