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 |
---|---|
440 | * Filter content to display at the bottom of the login form. |
441 | * |
442 | * The filter evaluates just preceding the closing form tag element. |
443 | * |
444 | * @since 3.0.0 |
445 | * |
446 | * @param string $content Content to display. Default empty. |
447 | * @param array $args Array of login form arguments. |
448 | */ |
449 | $login_form_bottom = apply_filters( 'login_form_bottom', '', $args ); |
450 |
|
451 | $form = ' |
452 | <form name="' . $args['form_id'] . '" id="' . $args['form_id'] . '" action="' . esc_url( site_url( 'wp-login.php', 'login_post' ) ) . '" method="post"> |
453 | ' . $login_form_top . ' |
454 | <p class="login-username"> |
455 | <label for="' . esc_attr( $args['id_username'] ) . '">' . esc_html( $args['label_username'] ) . '</label> |
456 | <input type="text" name="log" id="' . esc_attr( $args['id_username'] ) . '" class="input" value="' . esc_attr( $args['value_username'] ) . '" size="20" /> |
457 | </p> |
458 | <p class="login-password"> |