diff --git a/wp-multi-network/includes/functions.php b/wp-multi-network/includes/functions.php
index f2b7d80..7ffe86f 100644
--- a/wp-multi-network/includes/functions.php
+++ b/wp-multi-network/includes/functions.php
@@ -576,6 +576,18 @@ function add_network( $args = array() ) {
return $new_blog_id;
}
+ /**
+ * Fires after a new network blog has been added.
+ *
+ * @param int $new_blog_id ID of the added network blog.
+ * @param int $new_network_id ID of the added network.
+ * @param array $r Full associative array of network arguments.
+ *
+ * @since 2.5.3
+ */
+ do_action( 'added_network_blog', $new_blog_id, $new_network_id, $r );
+
+ // add new blog id as network meta data against the new network
$r['network_meta']['main_site'] = $new_blog_id;
if ( empty( $r['network_meta']['site_name'] ) ) {
diff --git a/wp-multi-network/includes/metaboxes/edit-network.php b/wp-multi-network/includes/metaboxes/edit-network.php
index 6e91774..63f7f9d 100644
--- a/wp-multi-network/includes/metaboxes/edit-network.php
+++ b/wp-multi-network/includes/metaboxes/edit-network.php
@@ -23,6 +23,8 @@ function wpmn_edit_network_details_metabox( $network = null ) {
?>