lost_password_html_link
Filters the link that allows the user to reset the lost password.
Использование
add_filter( 'lost_password_html_link', 'wp_kama_lost_password_html_link_filter' ); /** * Function for `lost_password_html_link` filter-hook. * * @param string $html_link HTML link to the lost password form. * * @return string */ function wp_kama_lost_password_html_link_filter( $html_link ){ // filter... return $html_link; }
- $html_link(строка)
- HTML link to the lost password form.
Список изменений
С версии 6.1.0 | Введена. |
Где вызывается хук
В файле: /wp-login.php
lost_password_html_link
wp-login.php 1588
echo apply_filters( 'lost_password_html_link', $html_link );
wp-login.php 1205
echo apply_filters( 'lost_password_html_link', $html_link );