Generate and check verification code by WP API
Author: | Ali Norouzi (profile at wordpress.org) |
WordPress version required: | 4.6.1 |
WordPress version tested: | 5.4.6 |
Plugin version: | 1.0.0 |
Added to WordPress repository: | 23-05-2020 |
Last updated: | 23-05-2020
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
|
Rating, %: | 0 |
Rated by: | 0 |
Plugin URI: | https://github.com/anorouzii/wp-verify-api |
Total downloads: | 333 |
Active installs: | 10+ |
Click to start download |
NOTICE : This plugin is used by WordPress developers and can be a bit confusing for beginner WordPress users.
This plugin generates a verification code via WordPress API and sends it to the specified email.
You can then check the code entered by the user with the API.
Docs & Support
** Generate verification code **
example.com/wp-json/wva/v1/email
Email should be post in JSON format.
Example :{"email" : "anorouziiii@gmail.com"}
** Check verification code **
example.com/wp-json/wva/v1/verify
Email and verification code should be posted in JSON format. if the code is correct and the expire time is not reached, it will return true
otherwise it’s false
then you can do whatever you want with the result like for OTP, Email Owner verification, and so on.
Example :{"email" : "anorouziiii@gmail.com","verify" : "53737"}
Features
- API-Based system for generating and check code.
- Customize expiration time for code.
- Customize code digits
Screenshots