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 |
|---|---|
| 455 | * Filter content to display at the bottom of the login form. |
| 456 | * |
| 457 | * The filter evaluates just preceding the closing form tag element. |
| 458 | * |
| 459 | * @since 3.0.0 |
| 460 | * |
| 461 | * @param string $content Content to display. Default empty. |
| 462 | * @param array $args Array of login form arguments. |
| 463 | */ |
| 464 | $login_form_bottom = apply_filters( 'login_form_bottom', '', $args ); |
| 465 | |
| 466 | $form = ' |
| 467 | <form name="' . $args['form_id'] . '" id="' . $args['form_id'] . '" action="' . esc_url( site_url( 'wp-login.php', 'login_post' ) ) . '" method="post"> |
| 468 | ' . $login_form_top . ' |
| 469 | <p class="login-username"> |
| 470 | <label for="' . esc_attr( $args['id_username'] ) . '">' . esc_html( $args['label_username'] ) . '</label> |
| 471 | <input type="text" name="log" id="' . esc_attr( $args['id_username'] ) . '" class="input" value="' . esc_attr( $args['value_username'] ) . '" size="20" /> |
| 472 | </p> |
| 473 | <p class="login-password"> |