wpmu_new_blog

wpmu_new_blog

Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: wordpress-5.0.3

do_action('wpmu_new_blog') is found 1 times:

  • /wp-includes/ms-functions.php line 1245
    	 * @param string $path       Site path.
    	 * @param int    $network_id Network ID. Only relevant on multi-network installations.
    	 * @param array  $meta       Meta data. Used to set initial site options.
    	 */
    	do_action( 'wpmu_new_blog', $blog_id, $user_id, $domain, $path, $network_id, $meta );
    
    	wp_cache_set( 'last_changed', microtime(), 'sites' );
    
    	return $blog_id;
    }
    
    

See this hook used in plugins: