intersynergy-login-plugin.php
/**
     * Returns the message body for the password reset mail.
     * Called through the retrieve_password_message filter.
     *
     * @param string  $message    Default mail message.
     * @param string  $key        The activation key.
     * @param string  $user_login The username for the user.
     * @param WP_User $user_data  WP_User object.
     *
     * @return string The mail message to send.
     */
Returns the message body for the password reset mail.
Called through the retrieve_password_message filter.

@param string  $message    Default mail message.
@param string  $key        The activation key.
@param string  $user_login The username for the user.

@return string The mail message to send.
Returns the message body for the password reset mail . Called through the retrieve_password_message filter . @param string $message Default mail message . @param string $key The activation key . @param string $user_login The username for the user . @return string The mail message to send .
public function replace_retrieve_password_message($message, $key, $user_login, $user_data)
    {
        $msg  = __('Hello!', 'intersynergy-login-plugin')."\r\n\r\n";
        $msg .= sprintf(__('You asked us to reset your password for your account using the email address %s.', 'intersynergy-login-plugin'), $user_login)."\r\n\r\n";
        $msg .= __("If this was a mistake, or you didn't ask for a password reset, just ignore this email and nothing will happen.", 'intersynergy-login-plugin')."\r\n\r\n";
        $msg .= __('To reset your password, visit the following address:', 'intersynergy-login-plugin')."\r\n\r\n";
        $msg .= home_url($this->pageSlug['member-password-reset']."/?action=rp&key=$key&login=".rawurlencode($user_login), 'login')."\r\n\r\n";
        $msg .= __('Thanks!', 'intersynergy-login-plugin')."\r\n";
        return $msg;
    }
public function replace_retrieve_password_message ( $ message , $ key , $ user_login , $ user_data ) { $ msg = __ ( 'Hello!' , 'intersynergy-login-plugin' ) . " \r \n \r \n " ; $ msg .= sprintf ( __ ( 'You asked us to reset your password for your account using the email address %s.' , 'intersynergy-login-plugin' ) , $ user_login ) . " \r \n \r \n " ; $ msg .= __ ( " If this was a mistake, or you didn't ask for a password reset, just ignore this email and nothing will happen. " , 'intersynergy-login-plugin' ) . " \r \n \r \n " ; $ msg .= __ ( 'To reset your password, visit the following address:' , 'intersynergy-login-plugin' ) . " \r \n \r \n " ; $ msg .= home_url ( $ this -> pageSlug [ 'member-password-reset' ] . " /?action=rp&key= $ key &login= " . rawurlencode ( $ user_login ) , 'login' ) . " \r \n \r \n " ; $ msg .= __ ( 'Thanks!' , 'intersynergy-login-plugin' ) . " \r \n " ; return $ msg ; }
Returns the message body for the password reset mail.
Returns the message body for the password reset mail .
// Create new message