Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Set page and post revision storage to be zero in WordPress 5.8
add_filter( 'wp_page_revisions_to_keep', '__return_zero' );
add_filter( 'wp_post_revisions_to_keep', '__return_zero' );
@lukecav
Copy link
Author

lukecav commented Jul 22, 2021

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment