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 |
|---|---|
| 133 | <label for="user_email"><?php _e( 'Email Address:' ) ?></label> |
| 134 | <?php if ( $errmsg = $errors->get_error_message('user_email') ) { ?> |
| 135 | <p class="error"><?php echo $errmsg ?></p> |
| 136 | <?php } ?> |
| 137 | <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.)') ?> |
| 138 | <?php |
| 139 | if ( $errmsg = $errors->get_error_message('generic') ) { |
| 140 | echo '<p class="error">' . $errmsg . '</p>'; |
| 141 | } |
| 142 | do_action( 'signup_extra_fields', $errors ); |
| 143 | } |
| 144 | |
| 145 | function validate_user_form() { |
| 146 | return wpmu_validate_user_signup($_POST['user_name'], $_POST['user_email']); |
| 147 | } |
| 148 | |
| 149 | function signup_another_blog($blogname = '', $blog_title = '', $errors = '') { |
| 150 | global $current_site; |
| 151 | $current_user = wp_get_current_user(); |