It seems Jetpack has a mind of its own deciding what modules to activate by default, especially on a localhost install where you can’t connect to their servers.
I wanted to test their default Contact Form against my Anti Spam but was having difficultly trying to understand why it was not active.
After going down some rabbit holes I discovered that Jetpack has a wp CLI integration. Then it became straightforward.
docker exec --user 1000:33 -i my-container wp jetpack module list
docker exec --user 1000:33 -i my-container wp jetpack module activate contact-form
Reference here : https://jetpack.com/support/jetpack-cli/
Leave a Reply