login_form_middle хук-фильтр . WP 3.0.0
Filters content to display in the middle of the login form.
The filter evaluates just following the location where the 'login-password'
field is displayed.
Использование
add_filter( 'login_form_middle', 'filter_function_name_9569', 10, 2 ); function filter_function_name_9569( $content, $args ){ // filter... return $content; }
- $content(строка)
- Content to display.
По умолчанию: '' - $args(массив)
- Array of login form arguments.
Список изменений
С версии 3.0.0 | Введена. |
Где вызывается хук
wp-includes/general-template.php 511
$login_form_middle = apply_filters( 'login_form_middle', '', $args );