Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: wpmu_activate_user

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
1210           /**
1211            * Fires immediately after a new user is activated.
1212            *
1213            * @since MU (3.0.0)
1214            *
1215            * @param int    $user_id  User ID.
1216            * @param string $password User password.
1217            * @param array  $meta     Signup meta data.
1218            */
1219           do_action( 'wpmu_activate_user', $user_id, $password, $meta );
1220
1221           return array(
1222                'user_id'  => $user_id,
1223                'password' => $password,
1224                'meta'     => $meta,
1225           );
1226      }
1227
1228      $blog_id = wpmu_create_blog( $signup->domain, $signup->path, $signup->title, $user_id, $meta, get_current_network_id() );