Looking for a feature? Help us make the plugin better. Send us your feedback using the Support Form below.

"; //registration messages const PASS_LENGTH = "Choose a password with minimum length 6."; const OTP_SENT = 'A passcode is sent to {{method}}. Please enter the otp below.'; const REG_SUCCESS = 'Your account has been retrieved successfully.'; const ACCOUNT_EXISTS = 'You already have an account with miniOrange. Please enter a valid password.'; const INVALID_OTP = 'Invalid one time passcode. Please enter a valid passcode.'; const PASS_MISMATCH = 'Password and Confirm Password do not match.'; public static function showMessage($message, $data = array()) { $message = constant("self::".$message); foreach ($data as $key => $value) { $message = str_replace("{{" . $key . "}}", $value, $message); } return $message; } }