I know this can be added to php file but wondering if you could please tell me the correct code and location for placement.
I’d like to limit posts to only 2 revisions.
Perhaps relevant, I use Elementor pro and have templates for my posts, so delete post history within Elementor. However, many of my posts require updating monthly, so although I remove previous versions within Elementor, wondering if WP still retains older versions.
Thanks Kindly,
Charles