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