You can use wpmu_new_blog
action hook which accepts 6 arguments:
- $blog_id
- $user_id
- $domain
- $path
- $site_id
- $meta
Related Posts:
- How to add Custom Blog Options to new blog setup form?
- WordPress Multisite: Adding actions to only one site
- WP Multisite: Adding pages on blog creation by default
- Perform action on WPMU blog deletion
- Hook filter to change wp_upload_dir() path in multisite
- Add site options UI in Multisite Sites > Infos page
- WPMU Hook for archive or deactivate blog?
- Make default new sites https (multisite)
- Update blog option during create new blog?
- Multisite – each site with it’s own set of users
- What could cause wpmu_create_blog to throw “Already Installed” Error on multisite?
- Which action hook to update custom field at network/site-info.php in multisite on update site info
- personal_options hook on WordPress multisite
- How to disable a network enabled plugin for just one site?
- Plugin for editing options on multisite?
- Set default avatar network-wide
- wp-activate.php causing white screen of death
- Change wordpress Multisite default site from side id 1 to side id 2
- Multisite: Develop locally using production images with .htaccess
- latest 5 posts using switch_to_blog loop
- How to prevent hotlinking with htaccess in WordPress and why most common use about it doesn’t work?
- Why can’t a WordPress network (multisite) in it’s own folder use subdomains?
- restore_current_blog() vs. multiple switch_to_blog() followed by removing $GLOBALS[‘_wp_switched_stack’]
- How do I set a default theme in multisite network
- WordPress Multisite Login Access
- Switch_to_blog() outside wordpress
- Multisite use language code as subdirectory
- How to remove the Tools menu item from the WP-Admin menu
- Sub-subdomain getting redirected to main domain
- Using $wpdb Class to Pull Recent Comments Across a Network
- Default content for a new site in multi site
- WordPress (+WPMU) Import/Export ALL settings?
- wordpress htaccess is hijacking my .mp4 files
- How to work on a live WPMS blog when domain is unresolved? [closed]
- How do you load WordPress from an external script when using MultiSite? [duplicate]
- Has WP and MU fully merged?
- Why is ‘is_multisite’ returning true when it’s a single install?
- Poor performance on multisite install
- Super admin access to a forgotten WP instance?
- How to search users globally on a multisite install?
- Auto Redirect after login
- Upload images from one site to another in Multisite
- All pages have 302 redirect, which I can’t remove
- Iframe being removed only for some users when publishing a page
- Start with multi-site feature now or later?
- 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?
- Add menu items/actions for multisite users who are registered on the network but do not have a role or capability in any sites
- WordPress Multisite with Addon Domains (not parked domain) [closed]
- Blocks Rest API rest_cannot_delete
- htaccess file for multiple CMS’s (multisite wordpress + wolfcms) on same domain but different subdirectories
- Multisite with different domain names on different servers
- Redirect One Multisite to Another
- Multisite Installation is all the same site
- Some doubts related to Multi Installation → Media of one of the site can be used on the others?
- Redirect to localhost after installing Multisite on server
- single sign on for wordpress multi site
- How can you override the is_multisite check in wp-login.php for individual login/registration?
- WordPress multisite install on two subdomains, each belonging to a separate domain
- Navigation menu not being assigned Theme Location
- Moving wp-admin folder to a different host in a multisite environment
- Issue with Multisite and SSL
- How do I remove the “http://” from network_site_url?
- List recent 25 blogs across the network
- Mass Update Broken Links
- Performance disadvantge of second installation instead multisite feature?
- What is the simplest way to disable multisite leaving one of the sites only?
- What does multi-site WordPress application mean?
- Add wordpress multi sites with different port number from 80
- Create website with a switch between private and business [closed]
- 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?
- Forward and mask a WordPress website
- Filter meta request
- Subdomain is not working
- How to automatically create an index of child sites at the root url for a multisite installation?
- 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]
- Migration: previous URL redirection after migrating
- Add www to the Root Site in WP Multisite Network
- Multisite problem with unexisting paths to CSS etc
- URLs for (MultiSite) link images are always relative
- How to allow mixed case characters in multisite site name?
- Separated Theme file on multi site network in subdomain
- register_setting() for single site vs update_site_option() for mu
- How To Change the URL of a WordPress Multisite
- Sending SMTP mail using a server with self-signed SSL
- Site w/ Addon Domain doesn’t show CSS
- WordPress MU – Creating a site takes ages
- Default sub-pages on WordPress Multisite
- WordPress Multisite – Questions about select all posts from all network sites
- Multi site and media uploader
- There is no featured image in my post in wordpress multisite theme [closed]
- 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
- Subdomain add comment redirect to 404 not found page iis server
- All links to images are broken in a subdomain multi site environment