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