Scripting (CLI) Delivery Mode
-
I like to clone my production site to a local site for testing or development work. All works well and I have a few scripts to automate and simplify this.
However, the most important change I make, on the target site, is to set Post SMPT’s Delivery Mode to “Log eMail and Delete”, to be sure no scheduled events end up delivering emails to customers. So after I create my cloned site I head straight to the admin UX and set that.
However, I would much rather script this. Is this possible to modify from WP CLi? If not, is there any other creative way I can ensure that this property is set automatically (or at least through some sort of script)?
The topic ‘Scripting (CLI) Delivery Mode’ is closed to new replies.