What option values correspond with public and private sites?
-
I am using this plugin for a web site with staging and live environments. When I deploy the site live, I want to automate the switch from private to public with the WP CLI:
wp option update fx-private-site X
What value do I provide for X to make the site public? I’m a bit confused because when I compare the two sites’ databases, they have the same value for the fx-private-site option even though one is private and the other public:
a:2:{s:6:"enable";b:1;s:9:"rss_error";s:54:"You must be logged into the site to view this comment.";}
- The topic ‘What option values correspond with public and private sites?’ is closed to new replies.