[wp-hackers] set wordpress privacy from functions.php

Andrew Gray andrew at graymerica.com
Mon Mar 7 17:52:07 UTC 2011


I would like to create a plugin that forces the site to not show up via to search engines.  I want to force Site Visibility to be none.
I want to change the option via a function and override what is in the database.

Does anyone know where that option is stored?   

My goal is to put this into my development switch to stop search engines from finding out live sites.  We too often forget to update the database after we move over production data,

thanks,

Andrew




More information about the wp-hackers mailing list