| 开发者 | imalinawaz |
|---|---|
| 更新时间 | 2026年11月2日 07:51 |
| 捐献地址: | 去捐款 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
fetch, or point a normal HTML form at the endpoint. HTML forms can return visitors to a thank-you page./submit/newsletter or /submit/quote to keep forms apart, then filter submissions by form.https://your-site.com/wp-json/submitdock/v1/submit.message ready to show your visitors. Status 200 means saved and emailed, and 202 means saved but the email failed.
Custom development
Need a webhook to your CRM, file uploads, a multi-step form, or a full headless WordPress build? The plugin is built and maintained by Ali Nawaz, a WordPress and full stack developer. Get in touch for custom work.
https://example.com.Form builder plugins draw the form on WordPress pages. This plugin has no form builder. It gives you an endpoint for forms that live somewhere else, such as a headless front end or a static site, and accepts any fields without configuration.
Yes. Send a POST request with a JSON body from the browser or from a server action or API route. The developer guide has examples.
Yes. Set the form's action to your endpoint and method to post. Add a hidden __redirect field to send visitors to a thank-you page with ?form_status=success or ?form_status=error.
The request came from a website that is not in the allowed list, or from a server, which sends no Origin header. Add your website's origin under Settings, or leave the list empty to accept submissions from anywhere.
Add a hidden field named _gotcha (you can change the name) that people never see. Bots fill it in and are rejected. Each visitor is also limited to five submissions every 15 minutes by default.
Not in this version. Text, numbers, true/false values, lists, and nested objects are supported.
The connecting IP address. Use the submitdock_client_ip filter to read the visitor's address from the header your proxy provides.
No, only the settings are removed, so messages are never lost by accident. To delete submissions too, define SUBMITDOCK_DELETE_DATA as true in wp-config.php before uninstalling.
/wp-json/submitdock/v1/submit, and settings and submissions are stored under new names. A site already running Headless Form keeps its data in the old plugin.