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 | 
|---|---|
| 277 |                ' . apply_filters( 'login_form_top', '', $args ) . ' | 
| 278 |                <p class="login-username"> | 
| 279 |                     <label for="' . esc_attr( $args['id_username'] ) . '">' . esc_html( $args['label_username'] ) . '</label> | 
| 280 |                     <input type="text" name="log" id="' . esc_attr( $args['id_username'] ) . '" class="input" value="' . esc_attr( $args['value_username'] ) . '" size="20" /> | 
| 281 |                </p> | 
| 282 |                <p class="login-password"> | 
| 283 |                     <label for="' . esc_attr( $args['id_password'] ) . '">' . esc_html( $args['label_password'] ) . '</label> | 
| 284 |                     <input type="password" name="pwd" id="' . esc_attr( $args['id_password'] ) . '" class="input" value="" size="20" /> | 
| 285 |                </p> | 
| 286 |                ' . apply_filters( 'login_form_middle', '', $args ) . ' | 
| 287 |                ' . ( $args['remember'] ? '<p class="login-remember"><label><input name="rememberme" type="checkbox" id="' . esc_attr( $args['id_remember'] ) . '" value="forever"' . ( $args['value_remember'] ? ' checked="checked"' : '' ) . ' /> ' . esc_html( $args['label_remember'] ) . '</label></p>' : '' ) . ' | 
| 288 |                <p class="login-submit"> | 
| 289 |                     <input type="submit" name="wp-submit" id="' . esc_attr( $args['id_submit'] ) . '" class="button-primary" value="' . esc_attr( $args['label_log_in'] ) . '" /> | 
| 290 |                     <input type="hidden" name="redirect_to" value="' . esc_url( $args['redirect'] ) . '" /> | 
| 291 |                </p> | 
| 292 |                ' . apply_filters( 'login_form_bottom', '', $args ) . ' | 
| 293 |           </form>'; | 
| 294 |  | 
| 295 |      if ( $args['echo'] ) |