Question
I am learning WordPress and I am working on the contact us form. I am using jQuery validation. I am using the below code. function contact($atts){ $html='<form name="invite" id="contactform" class="contactform" method="post" action=""> <div class="row"> <div class="col-xl-6 col-lg-6 col-md-6 ...
0
, , 2 months 0 Answers 22 views

Question
I'm trying to define a GET REST API endpoint with register_rest_route register_rest_route supports defining a URL parameter and it is documented at https://developer.wordpress.org/rest-api/extending-the-rest-api/adding-custom-endpoints/#arguments I would love to define a list of query parameters and let Wordpress handle the validation ...
0
, 3 months 0 Answers 35 views