login_form_bottom
Filters content to display at the bottom of the login form.
The filter evaluates just preceding the closing form tag element.
Использование
add_filter( 'login_form_bottom', 'wp_kama_login_form_bottom_filter', 10, 2 );
/**
* Function for `login_form_bottom` filter-hook.
*
* @param string $content Content to display.
* @param array $args Array of login form arguments.
*
* @return string
*/
function wp_kama_login_form_bottom_filter( $content, $args ){
// filter...
return $content;
}
- $content(строка)
- Content to display.
По умолчанию: '' - $args(массив)
- Array of login form arguments.
Список изменений
| С версии 3.0.0 | Введена. |
Где вызывается хук
wp-includes/general-template.php 594
$login_form_bottom = apply_filters( 'login_form_bottom', '', $args );