WP hooks navigation: Home/browse • Actions index • Filters index
To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).
The best way to understand what a hook does is to look at where it occurs in the source code.
do_action( "hook_name" )
apply_filters( "hook_name", "what_to_filter" )
.Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.
Line | Code |
---|---|
139 |
|
140 | <?php |
141 | /** |
142 | * Fires after the site sign-up form. |
143 | * |
144 | * @since 3.0.0 |
145 | * |
146 | * @param array $errors An array possibly containing 'blogname' or 'blog_title' errors. |
147 | */ |
148 | do_action( 'signup_blogform', $errors ); |
149 | } |
150 |
|
151 | /** |
152 | * Validate the new site signup |
153 | * |
154 | * @since MU |
155 | * |
156 | * @uses wp_get_current_user() to retrieve the current user |
157 | * @uses wpmu_validate_blog_signup() to validate new site signup for the current user |