Disable Everything in WordPress when Testing or Troubleshooting

Last Updated on April 2, 2024 EDT by Gina

Intro

From time to time you backup or clone a site and restore it to a temporary domain for testing or troubleshooting. This guide talks about completely disabling automations and emails that might cause problems.

Email

There’s two plugins that would really well to disable emails and log them.Copy

wp plugin install --activate disable-emails log-emails

Action Scheduler

wp plugin instsall --activate https://github.com/Prospress/action-scheduler-disable-default-runner/archive/master.zip
0 Shares:

Comments are closed.


You May Also Like