install.php
is only run during installation, it wont be run during new site creation.
You’d need to put that code in a mu-plugin to have any chance of running.
(I guess it could also exist in a network-activated plugin, but I’m not 100% sure of that)
Add the following before your code, and put your file in wp-content/mu-plugins
:
<?php
/*
Plugin Name: Yourmultisite options
Description: Foobar
Version: 1.0.0
Author: You
Author URI: http://www.examplecom
*/
Related Posts:
- Plugin for editing options on multisite?
- How to share WordPress core library
- wp-activate.php causing white screen of death
- Programmatically create blogs with dummy content on a WPMU site
- Change wordpress Multisite default site from side id 1 to side id 2
- How can I have network sites not use year/month folders by default?
- 4 single sites VS multisite wordpress
- Why can’t a WordPress network (multisite) in it’s own folder use subdomains?
- Two-level multisites in WordPress
- Display custom homepage text based on domain
- Add new domain to ‘My Sites’ using network admin
- Is there an advantage of using multisite if I have multiple WordPress websites for myself?
- Can you set up a wordpress (multi-site) network to work across multiple hosting accounts?
- No Network/Super admin after enabling Network
- Creating a Post form outside of the Admin
- How can I create a multisite global tag cloud?
- Non-wordpress subdomains on Multisite Installation
- Possible to create a multisite network where the main site is non-WP?
- Split a database will improve performance?
- Why are images not displaying?
- Override database config for WordPress multisite
- ‘Remote Login’ with MultiSite Domain Mapping still forcing users to login to all blogs individually?
- Change multi-site installation from sub-domains to sub-directories
- Multisite on Rackspace Cloud (ubuntu lucid)
- how could I have a user signing up for a blog, be assigned to that blog only
- oEmbed in wordpress multisite not working
- WordPress multisite installation broke menu links
- How to search users globally on a multisite install?
- Upload images from one site to another in Multisite
- Hide active themes on multisite subdomains
- Multisite: copy template when a subsite is created
- Password protect a single site on network
- Adding new sites to Multisite won’t register in Dashboard
- ‘Cheatin’ uh?’ Error When Attempting to Upload Images After 3.4 Update
- How to get permalink using get_blog_post function in a multisite?
- Multisite gives Error if i want to enter Dashboard or Site
- htaccess file for multiple CMS’s (multisite wordpress + wolfcms) on same domain but different subdirectories
- Multisite with different domain names on different servers
- Good way to block users within a multisite setup without deleting them?
- Use separate S3 buckets for separate sites in a multisite environment
- Create a database for each site created in multisite?
- Multisite Posting Recent Items in All the Sites Linked with Multisite
- single sign on for wordpress multi site
- How can you override the is_multisite check in wp-login.php for individual login/registration?
- 2 website 1 database… Local to online
- Issue with Multisite and SSL
- Custom port problem with local MU installation
- Multisites – Select homepage based on location
- Switch to blog and get content from that blog
- How can I hide certain sidebars from some users?
- How do I create a multi site network?
- List recent 25 blogs across the network
- How to Deny Access to No Referrer Requests on Multiste with Mapped domains
- Making a Multisite Dashboard Widget
- How do I disable XML-RPC in WordPress Multisite?
- Add wordpress multi sites with different port number from 80
- Include www prefix in site URL
- Is this possible? A multisite with “www.example.com/en/blog/” and “www.example.com/cn/blog/” (two directories deep)
- Can’t create a subdomain network – and WP is installed in webroot, not a folder
- How to make my third multisite blog start with id 1000?
- Sharing users across multiple sites, each on their own database
- Filter meta request
- Is this a good case for Multisite?
- WP Multisite – How to create a custom “router” for blog prefixes?
- Does switch_to_blog support array or other ways to show all posts on a network install?
- How to make subdomain and muti-site but wordpress isn’t in root?
- Show buddypress profile fields in a multsite blog [closed]
- How to automatically translate plugin using translate.wordpress.org
- Add www to the Root Site in WP Multisite Network
- Multisite problem with unexisting paths to CSS etc
- How do I export a single site in a multisite content without using a plugin? The default WP export does not catch all
- Media library links broken WordPress Multisite after SSL update
- When hooking wp-cron to system
- How to disable Gutenberg editor from Multisite Admin panel?
- Multisite wp-admin redirecting to main wp-admin using NGINX
- Update Same Contents on every Page
- Separated Theme file on multi site network in subdomain
- Send data from one WP instance to another and process it there
- WooCommerce API Returns 401
- User not staying logged into one of sub sites in multisite after SSL
- WordPress Multisite Network Subdomain
- register_setting() for single site vs update_site_option() for mu
- Allow users to register on multisite through WooCommerce using the same email address
- Use a single WP installation instead of three
- Sending SMTP mail using a server with self-signed SSL
- Can WordPress Multisite work like a regular site?
- Site w/ Addon Domain doesn’t show CSS
- WordPress MU – Creating a site takes ages
- WordPress Multisite — Have same navigation, sidebar and footer across all sites.
- Primary site file uploads failing, subdirectory subsites upload fine
- Subdomain Wp-Admin Not Found
- Default sub-pages on WordPress Multisite
- WordPress Multisite – Questions about select all posts from all network sites
- Run “get_the_post_thumbnail” with a different table prefix?
- Comment reporting for Multisite
- How to display the most popular posts of all the blogs in a mu setup? [duplicate]
- WordPress MS wp-admin/includes/post.php error with shortcode generator
- All links to images are broken in a subdomain multi site environment
- WordPress MU: Cookie error when trying to login on network WP instance
- Change a subsite Admin role of a WordPress Multisite after 24 hours registering