I think this is what you’re looking for:
add_action('wpmu_new_blog', 'insert_custom_datas1', 10, 6);
function insert_custom_datas1($blog_id, $user_id, $domain, $path, $site_id, $blogmeta) {
// Your code here
}
Let us know how it goes?
Related Posts:
- Why are my roles not visible in a Multi-site/Network?
- How to use same email for multiple users
- How will self-hosted WordPress work with Google Page Speed Service?
- What is the best way to load the WP environment in a subdomain of my multisite WordPress install?
- Mega WordPress Applications WPMU or otherwise
- Does the WordPress API work with multisite?
- wp_get_attachment_image_src multisite issue
- Transfer Subdomain site to Multisite setup
- WP REST API – Multisite – get posts from all sites
- How to Login Once to an Entire WP Multisite Network
- How properly delete only one site (blog) from the Network in WordPress Multisite (WPMU)
- What is the best way to setup wordpress development environment for freelancers with version control?
- Multisite sub-site dashboard redirects to /wp-admin/
- Trying to access second site dashboard on a multisite configuration proceeds to an error
- Get source from the_post_thumbnail
- How to configure WordPress Multisite by bash script?
- WordPress Multisite subdirectories not allowed on new install?
- Subsites in Multisite installation throwing 404 error on wp-admin in IIS 7
- Members area with externally-managed htaccess / htpasswd authentication?
- Using Multisite with a CDN?
- Creating a better multi-site search experience
- BackPress – which libraries i need to load to work with Multisite?
- How do I maintain static directories on multisite subdomains?
- Custom Post types and Custom fields in Multisite
- Login on Multiple Sub-Domains without Multisite
- Prevent images on self-hosted WordPress from being served from WordPress.com
- WordPress with Lan and Wan Access?
- Moving WordPress Multisite
- WordPress multisite fails to create a new site in the network
- Changing path for media upload folder in wordpress multisite
- WordPress multisite with subdomain and directory simultaneously
- WordPress Multisite Wildcard Subdomains on Plesk
- Making 2 WordPress sites mutually searchable and more
- Single install or multisite?
- Four columns in the wp_users table
- WordPress Folder Multisite – dev, staging, www versions
- Setup a multisite to a running website
- Viewing / Editing A Multisite website after domain has expired
- Update post meta using save_post hook in multisite
- Nginx — WordPress multisite with root folder in own directory
- turning off multi site mode makes XMLRPC fail : you are not allowed to publish posts on this site”
- How to set up wordpress domain mapping on MAMP Pro
- How to show different sub sites based on Member’s user name In word press?
- Debugging unserialize errors [closed]
- new site admin not able to browse categories in wordpress multisite
- Best architecture for multiple websites
- Multisite / Network – Stable?
- Eliminate MultiSite Network Splogs
- User Role is Not Specifying in WordPress Multisite?
- Copy user role on multisite so the user can access subsites with same role
- Problem in logging in as admin
- 301 Redirection After Comment
- Multisite 404 for pages in includes subdirectory
- Changing Domain Name Broke Database
- Multisite infinite redirect loop
- Customize or avoid new admin email address notification
- How to get the blogs owned by a user?
- WordPress Multisite Dilemma!
- Why WordPress w/ Nginx Multisite Only Lets Admin Upload ZIP Plugins But Not Themes? [closed]
- Certain lines added to our wp-config.php file are being removed, every day
- WordPress multisite installation subdomains not working properly
- Cross site identifier in a WP Multisite installation
- How to use the same users table on multiple wordpress sites
- Multisite: How to get a list of sites by locale
- let user select roles in the wordpress subsites
- Get latest posts from multisite
- My Sites link in multisite is incorrect
- Multisite subdirecty added inside URL to uploaded files
- local wordpress multisite not working on AWS development server “error establishing database connection”
- WP Multi Site – configure Sub domain pointing to parent sub directory
- Is it better to embed widgets on posts or pages?
- WordPress Multi site Map Domains
- Remove multisite part from wordpress multisite upload directory
- Migration of Multisite WordPress site from http to https
- Can’t activate a user on multisite install
- WordPress Multisite – Auto enable theme
- Network redirect issues
- A different role for each site in a multisite
- Multisite error when adding a user: already a member of this site
- WordPress Multisite subdomains and sharing the same upload folder
- REST or Alternative Method for New User && New Site && Assign User to New Site as Admin?
- Multisite custom rewrite urls
- Nested folder paths for WordPress multisite
- Installed in root, want second in subdirectory
- Prevent site down when importing data from large XML file
- How to create child/sub user under parent user
- Multisite and plugins options
- Aliasing a subdomain on a wordpress network
- Error establishing a database connection – Multi-site with subsite don’t exisit [duplicate]
- Network created blogs URL
- Make different sites on multisite reference same script
- Problem with paging on Multisite
- How can I set up a completely separate (not multisite) WordPress installation as a subdirectory of an existing WordPress blog?
- WP3.6: PHP Fatal error: Call to undefined function wpmu_delete_user()
- MP4 upload ok, but HTTP500 if I update the file (multisite)
- What is the best way to build a network of WP sites that share the same membership area?
- Common login for websites belonging in different networks
- Multisite pagination with get_posts
- Best Way to Setup a Network of WP Sites?
- Redirect to Multisite site 2 if site 1 has a setting