wp-env automating changing date-format, time-format, permalinks-structure
-
I am using wp-env 11.4.0 , with wp-cli 2.12.0, on ubuntu 24.04 x64, with PHP 8.3.
I must use a specific version of wordpress 6.8.1.
My question is how to automate the WordPress settings for date-format, time-format, permalinks structure from the .wp-env.json when wp-env builds a new environment.I am able to do these settings actions via wp-admin but I seek instead to have these automated to reduce manual steps.
I think it might be possible via an afterStart script containing something similar to
wp-env run cli wp option update ...but I do not know if there are options specifically for the wordpress date-format, time-format, and permalinks structure.I am a newbie to WordPress, hence this query.
You must be logged in to reply to this topic.