Validate and persist a contact-capture request.
Shared by the AJAX handler and the form builder callback so direct form POSTs run through the same validation. This is a public lead-capture feature, so it does not require authorization; abuse is bounded by the nonce (CSRF), the honeypot, input sanitization, and a per-IP rate limit on anonymous requests.
| Since | |
|---|---|
3.5.25 |
|
| Parameters | |||
|---|---|---|---|
array
|
$request |
Submitted request data. |
# |
| Returns | |
|---|---|
true|WP_Error
|
|