bbp_user_lost_pass_fields()
Output the required hidden fields when user lost password
Description Description
Source Source
File: includes/users/template.php
function bbp_user_lost_pass_fields() {
?>
<input type="hidden" name="user-cookie" value="1" />
<?php
// Allow custom lost pass redirection
$redirect_to = apply_filters( 'bbp_user_lost_pass_redirect_to', get_permalink() );
bbp_redirect_to_field( add_query_arg( array( 'checkemail' => 'confirm' ), $redirect_to ) );
// Prevent intention hi-jacking of lost pass form
wp_nonce_field( 'bbp-user-lost-pass' );
}
Changelog Changelog
| Version | Description |
|---|---|
| 2.0.0 | Introduced. |