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 ]

Google Arama Sonuçlarý

Dahasý ...

Kullanýcý Tartýþmalarý [ wordpress.org ]

- Bulunamadý -

Yeni bir konu yaz ...

0 User Note(s)

Henüz yok. Ýlk sen ol!

Yeni Ekle ...



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