Code-Snippets-Functions/Add functions to the wp-config.php file
2025-04-30 15:56:01 -06:00
..
adjust-action-scheduler-retention-period-one-week.txt Create adjust-action-scheduler-retention-period-one-week.txt 2020-06-18 14:02:10 -06:00
allow-automatic-database-repair.txt Create allow-automatic-database-repair.txt 2018-09-26 22:00:19 -06:00
allow-unfiltered-uploads.txt Create allow-unfiltered-uploads.txt 2019-08-07 09:39:14 -06:00
allow-wordfence-waf-to-write-to-file.txt Create allow-wordfence-waf-to-write-to-file.txt 2020-04-18 15:45:16 -06:00
allow-wordpress-to-update-files.txt Create allow-wordpress-to-update-files.txt 2018-10-03 18:37:21 -06:00
autoptimize-init-earlier.txt Create autoptimize-init-earlier.txt 2021-11-18 21:10:17 -07:00
beaver-builder-modsec-fix.txt Create beaver-builder-modsec-fix.txt 2020-05-21 12:51:15 -06:00
block-external-requests.txt Create block-external-requests.txt 2018-10-01 21:14:25 -06:00
change-autoptimize-directory-filename.txt Create change-autoptimize-directory-filename.txt 2020-07-16 22:41:00 -06:00
change-check-how-get-ips-timeout-in-wordfence.txt Create change-check-how-get-ips-timeout-in-wordfence.txt 2019-05-15 15:08:05 -06:00
change-recaptcha-timeout-in-wordfence-login-page.txt Create change-recaptcha-timeout-in-wordfence-login-page.txt 2020-04-18 15:47:20 -06:00
cleanup-image-edits.txt Create cleanup-image-edits.txt 2018-10-01 21:08:07 -06:00
clear-cache-after-changing-theme-wp-fastest-cache.txt Create clear-cache-after-changing-theme-wp-fastest-cache.txt 2021-12-02 13:51:22 -07:00
decrease-blocked-ips-per-page-in-wordfence.txt Create decrease-blocked-ips-per-page-in-wordfence.txt 2019-05-15 15:10:53 -06:00
define-eio.jpg-quality-level.txt Create define-eio.jpg-quality-level.txt 2022-06-08 14:57:21 -06:00
delete-all-lifterlms-data-on-uninstall.txt Create delete-all-lifterlms-data-on-uninstall.txt 2020-05-11 14:26:46 -06:00
disable-all-modules-ithemes-security.txt Create disable-all-modules-ithemes-security.txt 2019-06-10 14:37:33 -06:00
disable-automatic-core-updates-emails.txt Create disable-automatic-core-updates-emails.txt 2020-07-08 12:14:16 -06:00
disable-automatic-translation-file-updates.txt Create disable-automatic-translation-file-updates.txt 2020-07-08 12:13:29 -06:00
disable-automatic-wordpress-updates.txt Create disable-automatic-wordpress-updates.txt 2018-11-06 22:02:43 -07:00
disable-autosave.txt Create disable-autosave.txt 2022-06-01 14:08:07 -06:00
disable-code-snippets-safe-mode.txt Create disable-code-snippets-safe-mode.txt 2019-09-18 13:46:04 -06:00
disable-cron-cron-timeout.txt Create disable-cron-cron-timeout.txt 2018-09-26 21:52:37 -06:00
disable-dashboard-sync-elasticpress.txt Create disable-dashboard-sync-elasticpress.txt 2019-04-09 12:36:12 -06:00
disable-debug.txt Create disable-debug.txt 2018-10-04 07:44:46 -06:00
disable-eio-jpg-to-png-image-conversion.txt Create disable-eio-jpg-to-png-image-conversion.txt 2022-06-08 14:55:10 -06:00
disable-eio-lazy-loader-auto-scaling.txt Create disable-eio-lazy-loader-auto-scaling.txt 2022-06-08 14:47:27 -06:00
disable-empty-trash.txt Create disable-empty-trash.txt 2018-09-26 21:57:15 -06:00
disable-fatal-error-handler.txt Update disable-fatal-error-handler.txt 2019-06-07 10:32:24 -06:00
disable-ithemes-security-notification-for-inactive-users.txt Create disable-ithemes-security-notification-for-inactive-users.txt 2020-01-02 15:53:53 -07:00
disable-itsec-cron-test.txt Create disable-itsec-cron-test.txt 2022-10-31 14:17:53 -06:00
disable-itsec-inactive-user-check.txt Create disable-itsec-inactive-user-check.txt 2021-02-26 10:41:35 -07:00
disable-lazy-loading-png-images-optimole.txt Create disable-lazy-loading-png-images-optimole.txt 2020-07-17 22:20:35 -06:00
disable-learndash-transients.txt Create disable-learndash-transients.txt 2021-02-22 11:31:12 -07:00
disable-learndash-updater-check.txt Create disable-learndash-updater-check.txt 2021-10-29 12:54:17 -06:00
disable-lifterlms-php-session-manager.txt Create disable-lifterlms-php-session-manager.txt 2020-05-11 11:01:21 -06:00
disable-lifterlms-rest-api.txt Create disable-lifterlms-rest-api.txt 2020-05-11 11:30:25 -06:00
disable-lifterlms-upgrade-logger.txt Create disable-lifterlms-upgrade-logger.txt 2020-05-11 11:40:41 -06:00
disable-nag-notices-littlebizzy.txt Create disable-nag-notices-littlebizzy.txt 2018-09-26 21:49:26 -06:00
disable-plugin-theme-editor.txt Create disable-plugin-theme-editor.txt 2018-09-26 21:51:57 -06:00
disable-post-revisions.php Create disable-post-revisions.php 2018-09-26 21:51:07 -06:00
disable-really-simple-ssl-from-editing-htacces.txt Create disable-really-simple-ssl-from-editing-htacces.txt 2020-11-05 21:06:54 -07:00
disable-redirection-plugin.txt Create disable-redirection-plugin.txt 2021-12-01 12:05:55 -07:00
disable-two-factor-ithemes-security.txt Create disable-two-factor-ithemes-security.txt 2019-06-10 14:37:09 -06:00
disable-uael-white-label-settings.txt Create disable-uael-white-label-settings.txt 2022-08-24 18:33:20 -06:00
disable-updraftplus-admin-bar.txt Create disable-updraftplus-admin-bar.txt 2022-06-10 14:22:46 -06:00
disable-yoast-seo-debugging.txt Create disable-yoast-seo-debugging.txt 2021-12-17 13:54:37 -07:00
dismiss-ssl-notice-if-using-really-simple-ssl-plugin.txt Create dismiss-ssl-notice-if-using-really-simple-ssl-plugin.txt 2019-08-27 10:08:49 -06:00
empty-trash-15-days.txt Create empty-trash-15-days.txt 2018-09-26 21:56:26 -06:00
enable-all-modules-ithemes-security.txt Create enable-all-modules-ithemes-security.txt 2019-06-10 14:40:42 -06:00
enable-alternative-cron.txt Create enable-alternative-cron.txt 2019-08-21 21:29:11 -06:00
enable-cache-clearing-after-plugin-activate-deactivate-wp-fastest-cache.txt Create enable-cache-clearing-after-plugin-activate-deactivate-wp-fastest-cache.txt 2021-12-02 13:49:54 -07:00
enable-code-snippets-plugin-safe-mode.txt Create enable-code-snippets-plugin-safe-mode.txt 2019-09-18 13:45:29 -06:00
enable-cron-lock-timeout.txt Create enable-cron-lock-timeout.txt 2019-08-21 21:27:55 -06:00
enable-debug-log.txt Create enable-debug-log.txt 2018-09-26 21:55:20 -06:00
enable-eio-native-lazy-loading.txt Create enable-eio-native-lazy-loading.txt 2022-06-08 14:46:50 -06:00
enable-ithemes-security-pro-debug-menu-txt Create enable-ithemes-security-pro-debug-menu-txt 2020-01-02 15:55:45 -07:00
enable-jetpack-development-mode.txt Create enable-jetpack-development-mode.txt 2020-01-25 17:01:01 -07:00
enable-jetpack-staging-site-mode.txt Create enable-jetpack-staging-site-mode.txt 2019-04-01 11:10:33 -06:00
enable-lifterlms-engagement-debug-logging.txt Create enable-lifterlms-engagement-debug-logging.txt 2020-05-11 11:41:35 -06:00
enable-really-simple-ssl-safe-mode.txt Rename really-simple-ssl-safe-mode.txt to enable-really-simple-ssl-safe-mode.txt 2021-08-10 12:18:11 -06:00
enable-two-factor-ithemes-security.txt Create enable-two-factor-ithemes-security.txt 2019-06-10 14:41:15 -06:00
enable-wc-subscriptions-emails-on-a-staging-site.txt Create enable-wc-subscriptions-emails-on-a-staging-site.txt 2019-04-17 15:20:14 -06:00
enable-wordpress-auto-updates.txt Create enable-wordpress-auto-updates.txt 2018-12-14 13:42:19 -07:00
enable-wordpress-minor-auto-updates.txt Rename enable-wordpress-minor-auto-updates.php to enable-wordpress-minor-auto-updates.txt 2018-12-14 13:40:54 -07:00
enable-yoast-seo-debugging.txt Create enable-yoast-seo-debugging.txt 2021-12-17 13:54:14 -07:00
force-ssl-admin-login.php Create force-ssl-admin-login.php 2019-09-09 14:24:21 -06:00
force-ssl-admins-logins.txt Create force-ssl-admins-logins.txt 2018-10-01 21:15:04 -06:00
increase-memory-limit-128mb.txt Create increase-memory-limit-128mb.txt 2018-09-26 22:01:39 -06:00
increase-memory-limit-256mb.txt Create increase-memory-limit-256mb.txt 2018-09-26 21:53:24 -06:00
increase-memory-limit-512mb.txt Create increase-memory-limit-512mb.txt 2018-09-26 21:53:48 -06:00
increase-scan-min-execution-time-in-wordfence.txt Create increase-scan-min-execution-time-in-wordfence.txt 2019-05-15 15:05:54 -06:00
increasing-the-recursion-and-backtrack-limit.txt Create increasing-the-recursion-and-backtrack-limit.txt 2019-05-27 21:08:29 -06:00
ithemes-security-rules-added.txt Create ithemes-security-rules-added.txt 2020-01-02 16:07:32 -07:00
load-eio-lazy-loading-footer.txt Create load-eio-lazy-loading-footer.txt 2022-06-08 14:48:13 -06:00
mailchimp-for-woocommerce-disable-background-queue-processing.txt Create mailchimp-for-woocommerce-disable-background-queue-processing.txt 2019-09-16 10:56:45 -06:00
preserve-eio-metadata.txt Create preserve-eio-metadata.txt 2022-06-08 14:50:35 -06:00
README.md Update README.md 2025-04-30 15:56:01 -06:00
really-simple-ssl-disable-htaccess-edit.txt Create really-simple-ssl-disable-htaccess-edit.txt 2021-02-04 15:22:38 -07:00
reduce-issues-per-page-to-50-in-wordfence.txt Create reduce-issues-per-page-to-50-in-wordfence.txt 2019-05-15 15:01:52 -06:00
remove-all-woocommerce-data.txt Create remove-all-woocommerce-data.txt 2020-06-06 16:38:06 -06:00
remove-events-admin-bar.txt Create remove-events-admin-bar.txt 2022-09-07 10:08:14 -06:00
remove-tec-add-on-upsell.txt Create remove-tec-add-on-upsell.txt 2022-09-07 10:34:59 -06:00
resolve-curl-bind-error-mailchimp.txt Create resolve-curl-bind-error-mailchimp.txt 2022-07-13 08:22:16 -06:00
seopress-block-htaccess-editing.txt Create seopress-block-htaccess-editing.txt 2022-06-13 13:17:43 -06:00
seopress-block-robot-txt-editing.txt Create seopress-block-robot-txt-editing.txt 2022-06-13 13:17:17 -06:00
seopress-remove-admin-header.txt Create seopress-remove-admin-header.txt 2022-06-13 13:30:01 -06:00
set-5-post-revisions.txt Create set-5-post-revisions.txt 2018-10-01 20:59:40 -06:00
set-10-post-revisions.txt Create set-10-post-revisions.txt 2018-09-26 21:59:04 -06:00
set-15-post-revisions.txt Create set-15-post-revisions.txt 2018-10-01 21:03:40 -06:00
set-autosave-revision-time.txt Create set-autosave-revision-time.txt 2018-09-26 21:59:36 -06:00
set-cache-as-false.txt Create set-cache-as-false.txt 2018-10-04 07:43:29 -06:00
set-cache-as-true.txt Create set-cache-as-true.txt 2018-10-03 18:38:55 -06:00
set-ithemes-security-debug-to-false.txt Create set-ithemes-security-debug-to-false.txt 2019-06-10 13:09:46 -06:00
set-ithemes-security-debug-to-true.txt Create set-ithemes-security-debug-to-true.txt 2019-06-10 13:10:10 -06:00
set-ithemes-security-to-use-wp-cron.txt Create set-ithemes-security-to-use-wp-cron.txt 2019-06-10 12:54:47 -06:00
set-ithemes-security-use-cron-to-false.txt Create set-ithemes-security-use-cron-to-false.txt 2019-06-10 13:09:15 -06:00
set-recovery-mode-email.txt Create set-recovery-mode-email.txt 2019-05-08 20:55:38 -06:00
set-woocommerce-payments-in-dev-mode.txt Create set-woocommerce-payments-in-dev-mode.txt 2020-10-14 13:14:04 -06:00
set-wp-fail2ban-constants.txt Create set-wp-fail2ban-constants.txt 2021-08-11 15:03:27 -06:00
updraftplus-always-try-mysqldump.txt Create updraftplus-always-try-mysqldump.txt 2022-06-13 11:06:21 -06:00
updraftplus-disable-admin-bar.txt Create updraftplus-disable-admin-bar.txt 2022-06-13 11:08:24 -06:00
updraftplus-disable-noadmin-lock.txt Create updraftplus-disable-noadmin-lock.txt 2022-06-13 11:07:30 -06:00
updraftplus-disable-wp-cron-notice.txt Create updraftplus-disable-wp-cron-notice.txt 2022-06-13 11:06:54 -06:00
white-label-wp-rocket.txt Create white-label-wp-rocket.txt 2020-11-11 10:05:47 -07:00
wordfence-disable-file-viewer.txt Create wordfence-disable-file-viewer.txt 2021-10-21 21:43:41 -06:00
wordfence-disable-live-traffic.txt Create wordfence-disable-live-traffic.txt 2021-10-21 21:48:37 -06:00
wordfence-disable-waf.txt Create wordfence-disable-waf.txt 2021-10-21 21:41:55 -06:00
wordfence-increase-scan-failure-threshold.txt Create wordfence-increase-scan-failure-threshold.txt 2021-10-21 21:39:34 -06:00
wordfence-scan-issues-per-page.txt Update wordfence-scan-issues-per-page.txt 2021-10-21 21:38:29 -06:00

WordPress code snippets for wp-config.php

Tested version of WordPress 6.8.1.

This file is for code snippets in WordPress to add constants into the sites wp-config.php file.

Things to do

  1. If your not sure what this does check the Code Snippets Functions Readme
  2. As with all code snippets located in this git, TEST the code snippet on one of your test sites BEFORE sending the code snippet to all your MainWP Child sites!

Code snippet functions help

If you run into any issues or questions please use the MainWP Support page and open a ticket for the fastest response.