Skip to content

Instantly share code, notes, and snippets.

@ajskelton
Last active November 21, 2018 19:23
Show Gist options
  • Save ajskelton/ed317fedf36b56dd3d15c1a41008acbd to your computer and use it in GitHub Desktop.
Save ajskelton/ed317fedf36b56dd3d15c1a41008acbd to your computer and use it in GitHub Desktop.
Code snippits to speed up WordPress site
// Limit post revisions to 3
define( 'WP_POST_REVISIONS', 3 );
// Empty trash every 7 days instead of the default 30
define('EMPTY_TRASH_DAYS', 7);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment