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 |
---|---|
280 | <label for="' . esc_attr( $args['id_password'] ) . '">' . esc_html( $args['label_password'] ) . '</label> |
281 | <input type="password" name="pwd" id="' . esc_attr( $args['id_password'] ) . '" class="input" value="" size="20" tabindex="20" /> |
282 | </p> |
283 | ' . apply_filters( 'login_form_middle', '' ) . ' |
284 | ' . ( $args['remember'] ? '<p class="login-remember"><label><input name="rememberme" type="checkbox" id="' . esc_attr( $args['id_remember'] ) . '" value="forever" tabindex="90"' . ( $args['value_remember'] ? ' checked="checked"' : '' ) . ' /> ' . esc_html( $args['label_remember'] ) . '</label></p>' : '' ) . ' |
285 | <p class="login-submit"> |
286 | <input type="submit" name="wp-submit" id="' . esc_attr( $args['id_submit'] ) . '" class="button-primary" value="' . esc_attr( $args['label_log_in'] ) . '" tabindex="100" /> |
287 | <input type="hidden" name="redirect_to" value="' . esc_attr( $args['redirect'] ) . '" /> |
288 | </p> |
289 | ' . apply_filters( 'login_form_bottom', '' ) . ' |
290 | </form>'; |
291 |
|
292 | if ( $args['echo'] ) |
293 | echo $form; |
294 | else |
295 | return $form; |
296 | } |
297 |
|
298 | /** |