Skip to content

Instantly share code, notes, and snippets.

@deeman
Created May 19, 2019 17:46
Show Gist options
  • Select an option

  • Save deeman/9bdb4656341a9b579b51259c58009523 to your computer and use it in GitHub Desktop.

Select an option

Save deeman/9bdb4656341a9b579b51259c58009523 to your computer and use it in GitHub Desktop.
Define functions in WP-CONFIG.PHP
define( 'FORCE_SSL_LOGIN', true );
define( 'FORCE_SSL_ADMIN', true );
define( 'EMPTY_TRASH_DAYS', 0 );
define( 'DISABLE_WP_CRON', true );
define( 'DISALLOW_FILE_EDIT', true );
define( 'WP_CACHE', false );
define( 'WP_POST_REVISIONS', false );
define( 'AUTOSAVE_INTERVAL', 1800 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment