Switch language

wpseek.com
A WordPress-centric search engine for devs and theme authors




wp_lostpassword_url [ WordPress Function ]

wp_lostpassword_url ( $redirect = '' )
Parameters:
  • (string) $redirect Path to redirect to on login.
Uses:
Defined at:



Returns the Lost Password URL.

Returns the URL that allows the user to retrieve the lost password

Source


<?php
function wp_lostpassword_url$redirect '' ) {
    
$args = array( 'action' => 'lostpassword' );
    if ( !empty(
$redirect) ) {
        
$args['redirect_to'] = $redirect;
    }

    
$lostpassword_url add_query_arg$argsnetwork_site_url('wp-login.php''login') );
    return 
apply_filters'lostpassword_url'$lostpassword_url$redirect );
}
?>

Examples [ wp-snippets.com ]

Top Google zoekresultaten

Meer ...

Gebruikersdiscussies [ wordpress.org ]

0 User Note(s)

Nog geen één. Wees de eerste!

Nieuw toevoegen ...



HTML5 Powered with CSS3 / Styling, Performance & Integration, and Semantics