Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: wpmu_activate_blog

To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).

Understanding Source Code

The best way to understand what a hook does is to look at where it occurs in the source code.

Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.

Source View

Line Code
1080       *
1081       * @since MU
1082       *
1083       * @param int    $blog_id       Blog ID.
1084       * @param int    $user_id       User ID.
1085       * @param int    $password      User password.
1086       * @param string $signup_title  Site title.
1087       * @param array  $meta          Signup meta data. By default, contains the requested privacy setting and lang_id.
1088       */
1089      do_action( 'wpmu_activate_blog', $blog_id, $user_id, $password, $signup->title, $meta );
1091      return array('blog_id' => $blog_id, 'user_id' => $user_id, 'password' => $password, 'title' => $signup->title, 'meta' => $meta);
1092 }
1094 /**
1095  * Create a user.
1096  *
1097  * This function runs when a user self-registers as well as when
1098  * a Super Admin creates a new user. Hook to {@see 'wpmu_new_user'} for events