Tag: Multisite

  • update_blog_option()

    I was dealing with network DB option filtering few weeks back and I was unable to find a proper way to use update_option, update_site_option or any relevant function to update the main site’s option value. I just found update_blog_option which is pretty cool and it does the following inside: [php] … switch_to_blog( $id ); $return…

  • Local Setup of Multisite on LAMP

    I had some issues this month setting up locally several multisites on LAMP so I’ve decided to draft my complete flow for further use (and get other opinions on it as well). The sites were different in nature, some were running on Apache, others – on nginx, running on subdomain or subfolder-related structure. Placing the…