Description
This hook allows you to filter the arguments needed to reset a forgotten password.
Usage
add_filter( 'wpmem_pwdreset_args', 'my_pwdreset_args' );
function my_pwdreset_args( $args )
{
/**
The password reset process requires two arguments
in the array:
username: $args['user']
email: $args['email']
A single stage password reset (username or email only)
can be created with this filter by using the single
known value to retrieve the unknown value using
get_user_by.
see: http://codex.wordpress.org/Function_Reference/get_user_by
**/
return $args;
}Code Snippet Library [Subscriber Content]
See a list of all filter and action hooks