wp_lostpassword_url [ WordPress Function ]
wp_lostpassword_url ( $redirect = '' )
| Parameters: |
|
| Uses: | |
| Defined at: |
|
Benzer Fonksiyonlar: wp_set_password, wp_hash_password, post_password_required, the_post_password, wp_logout_url
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( $args, network_site_url('wp-login.php', 'login') );
return apply_filters( 'lostpassword_url', $lostpassword_url, $redirect );
}
?>
Examples [ wp-snippets.com ]
Google Arama Sonuçlarý
- Function Reference/wp lostpassword url « WordPress Codex
Description. This Template Tag returns the URL that allows the user to retrieve the lost password. Usage. <?php echo wp_lostpassword_url( $redirect ); ?> ...
codex.wordpress.org - #18808 (wp_lostpassword_url should be applied instead of using ...
I also changed wp_lostpassword_url so it can used within networks. The if/else statement can be removed when always using network_site_url. Also added ...
core.trac.wordpress.org - #19199 (use wp_lostpassword_url() in wp-login.php) – WordPress ...
Description. related: #18808. use wp_lostpassword_url() instead of using site_url ( 'wp-login.php?action=lostpassword' ) in wp-login.php.
core.trac.wordpress.org - wp_lostpassword_url (WordPress Function) - WPSeek.com
WordPress lookup for wp_lostpassword_url, a WordPress Function. wpseek.com is a WordPress-centric search tool for developers and theme authors.
wpseek.com