Sending Reset Password email via Web API

You can hook retrieve_password_message (code): /** * Filters the message body of the password reset mail. * * If the filtered message is empty, the password reset email will not be sent. * * @param string $message Default mail message. * @param string $key The activation key. * @param string $user_login The username for the … Read more

How to change lost password email text using custom plugin wordpress?

The filter for the Message that is sent to reset your password is retrieve_password_message. You use it like this: add_filter(‘retrieve_password_message’,’my_awesome_new_password_reset_email’,10,4); function my_awesome_new_password_reset_email($message, $key, $user_login, $user_data){ $message = “Hey, you need a new Password? Click here: “.site_url( “wp-login.php?action=rp&key=$key&login=”.rawurlencode( $user_login ),’login’).”!”; return $message; } $message is the original E-Mail Body, $key is the reset password key, $user_login … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)