lostpassword_url filter-hook . WP 2.8.0
Filters the Lost Password URL.
Usage
add_filter( 'lostpassword_url', 'filter_function_name_1739', 10, 2 ); function filter_function_name_1739( $lostpassword_url, $redirect ){ // filter... return $lostpassword_url; }
- $lostpassword_url(string)
- The lost password page URL.
- $redirect(string)
- The path to redirect to on login.
Changelog
Since 2.8.0 | Introduced. |
Where the hook is called
lostpassword_url
wp-includes/general-template.php 636
return apply_filters( 'lostpassword_url', $lostpassword_url, $redirect );