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 |
|---|---|
| 170 | <label for="user_email"><?php _e( 'Email Address:' ) ?></label> |
| 171 | <?php if ( $errmsg = $errors->get_error_message('user_email') ) { ?> |
| 172 | <p class="error"><?php echo $errmsg ?></p> |
| 173 | <?php } ?> |
| 174 | <input name="user_email" type="text" id="user_email" value="<?php echo esc_attr($user_email) ?>" maxlength="200" /><br /><?php _e('We send your registration email to this address. (Double-check your email address before continuing.)') ?> |
| 175 | <?php |
| 176 | if ( $errmsg = $errors->get_error_message('generic') ) { |
| 177 | echo '<p class="error">' . $errmsg . '</p>'; |
| 178 | } |
| 179 | do_action( 'signup_extra_fields', $errors ); |
| 180 | } |
| 181 | |
| 182 | /** |
| 183 | * Validate user signup name and email |
| 184 | * |
| 185 | * @since MU |
| 186 | * |
| 187 | * @uses wpmu_validate_user_signup() to retrieve an array of user data |
| 188 | * @return array Contains username, email, and error messages. |