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
1107       *
1108       * @since MU (3.0.0)
1109       *
1110       * @param int    $blog_id       Blog ID.
1111       * @param int    $user_id       User ID.
1112       * @param int    $password      User password.
1113       * @param string $signup_title  Site title.
1114       * @param array  $meta          Signup meta data. By default, contains the requested privacy setting and lang_id.
1115       */
1116      do_action( 'wpmu_activate_blog', $blog_id, $user_id, $password, $signup->title, $meta );
1117
1118      return array('blog_id' => $blog_id, 'user_id' => $user_id, 'password' => $password, 'title' => $signup->title, 'meta' => $meta);
1119 }
1120
1121 /**
1122  * Create a user.
1123  *
1124  * This function runs when a user self-registers as well as when
1125  * a Super Admin creates a new user. Hook to {@see 'wpmu_new_user'} for events