Skip to content

Instantly share code, notes, and snippets.

@ansulev
Created December 6, 2018 12:15
Show Gist options
  • Save ansulev/56ad834296d41611af05e47b529f8acf to your computer and use it in GitHub Desktop.
Save ansulev/56ad834296d41611af05e47b529f8acf to your computer and use it in GitHub Desktop.
define('DELETE_EXPIRED_TRANSIENTS', true);
define('DELETE_EXPIRED_TRANSIENTS_HOURS', '6');
define('DELETE_EXPIRED_TRANSIENTS_MAX_EXECUTION_TIME', '10');
define('DELETE_EXPIRED_TRANSIENTS_MAX_BATCH_RECORDS', '50');
define('DISABLE_ADMIN_AJAX', false);
define('DISABLE_CART_FRAGMENTS', true);
define('DISABLE_EMBEDS', true);
define('DISABLE_EMBEDS_ALLOWED_SOURCES', 'none');
define('DISABLE_EMOJIS', true);
define('DISABLE_GUTENBERG', true);
define('DISABLE_JQUERY_MIGRATE', true);
define('DISABLE_POST_VIA_EMAIL', true);
define('DISABLE_WOOCOMMERCE_STATUS', false);
define('DISABLE_WOOCOMMERCE_STYLES', false);
define('DISABLE_WOOCOMMERCE_STYLES_NAMES', 'select2');
define('DISABLE_WOOCOMMERCE_STYLES_PREFIXES', 'wc,woocommerce');
define('DISABLE_XML_RPC', true);
define('HEADER_CLEANUP', true);
define('INDEX_AUTOLOAD', true);
define('INDEX_AUTOLOAD_REGENERATE', false);
define('INLINE_STYLES', false);
define('MINIFY_HTML', true);
define('MINIFY_HTML_INLINE_STYLES', true);
define('MINIFY_HTML_INLINE_STYLES_COMMENTS', true);
define('MINIFY_HTML_REMOVE_COMMENTS', true);
define('MINIFY_HTML_REMOVE_CONDITIONALS', true);
define('MINIFY_HTML_REMOVE_EXTRA_SPACING', true);
define('MINIFY_HTML_REMOVE_HTML5_SELF_CLOSING', false);
define('MINIFY_HTML_REMOVE_LINE_BREAKS', true);
define('MINIFY_HTML_INLINE_SCRIPTS', false);
define('MINIFY_HTML_INLINE_SCRIPTS_COMMENTS', false);
define('MINIFY_HTML_UTF8_SUPPORT', true);
define('REMOVE_QUERY_STRINGS', true);
define('REMOVE_QUERY_STRINGS_ARGS', 'v,ver,version');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment