WordPress REST API Validate
Laravel Validation for WordPress REST API Plugin
by Mehrshad Darzi · github.com/mehrshaddarzi/wp-rest-api-validate · website
★ 3stars
21release downloads
0forks
Install
The author publishes release zips, so WP-CLI can install straight from GitHub:
wp plugin install https://github.com/mehrshaddarzi/wp-rest-api-validate/releases/download/v1.0.0/wp-rest-api-validate.zipFrom the readme
Laravel Validation for WordPress REST API Plugin
Professional validation argument for WordPress REST API
Table of Contents
Installation
How to use in register rest route
List of WordPress Hooks
Contributing
License
Installation
Download zip file and install plugin in your WordPress site.
How to use in registerrestroute
You Can add validate parameter in registerrestroute function:
List of Laravel Validation
All laravel validation Rules are available in this plugin:
https://laravel.com/docs/10.x/validation#available-validation-rules
List of WordPress Hooks
Use custom parameter key in your code
Use custom language (default is WordPress locale)
Change validation language dir
Pre Validation Start
use for disable or add custom condition by request:
Contributing
- Mehrshad Darzi
We appreciate you taking the initiative to contribute to this project.
Contributing isn’t limited to just code. We encourage you to contribute in the way that best fits your abilities, by
writing tutorials, giving a demo at your local meetup, helping other users with their support questions, or revising our
documentation.
License
The wp-rest-api-validate is open-sourced software licensed
Read the full README on GitHub →
Releases
| Tag | Published | Asset | Downloads |
|---|---|---|---|
| v1.0.0 | Apr 26, 2023 | wp-rest-api-validate.zip | 21 |