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



send_retrieve_password_email › WordPress Filter Hooks

Since6.0.0
Deprecatedn/a
apply_filters( 'send_retrieve_password_email', true, $user_login, $user_data )
Parameters: (3)
  • (bool) $send Whether to send the email.
    Required: Yes
  • (string) $user_login The username for the user.
    Required: Yes
  • (WP_User) $user_data WP_User object.
    Required: Yes
Defined at:
Codex:

Filters whether to send the retrieve password email.

Return false to disable sending the email.





Source

if ( ! apply_filters( 'send_retrieve_password_email', true, $user_login, $user_data ) ) {