| 开发者 |
fieldx
beautifulplugins |
|---|---|
| 更新时间 | 2026年10月25日 09:54 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
forming_entry custom post type, one meta value per field, so your form data stays in your own database.forming_field_blocks filter and hook forming_submission_saved to react to new entries.forming category and append its name to the allowlist:
add_filter( 'forming_field_blocks', function ( $blocks ) { $blocks[] = 'my-plugin/field-rating'; return $blocks; } );
React to a new submission:
add_action( 'forming_submission_saved', function ( $entry_id, $data, $form_id ) { // $data is a name => value map of the validated submission. }, 10, 3 );
/wp-content/plugins/forming-form-builder, or upload the ZIP through Plugins → Add New → Upload Plugin.Edit the page, add the Form block, and nest the field blocks you want inside it. The Form block starts with a name, email, message and submit button so you have a working contact form immediately. Set your notification recipients in the block sidebar and publish.
No. The form is a block, so it lives directly in your post or page content. There is no shortcode to copy and no separate builder screen.
Each submission is saved as a forming_entry custom post type with one meta value per field, so your data stays in your own WordPress database. A notification email is also sent to the recipients you configure.
Yes. Set one or more recipients, a subject, and a from name and address in the Form block settings. Notifications use wp_mail(), so any SMTP plugin you already use will handle delivery.
Two checks run on every submission, both on by default: a honeypot field that is hidden from people but tempting to bots, and a time-trap that rejects submissions completed implausibly fast. There is no CAPTCHA, so real visitors are never asked to solve anything.
No. Forming Forms is built exclusively for the WordPress block editor.
Yes. The Form block can be placed in posts, pages, templates, template parts and widget areas, and it inherits your theme's styles through the block editor's own design controls.
Yes. Select the Form block and create a core synced pattern from it, then insert that pattern anywhere. Editing the pattern updates every page at once.
Yes. In the Form block settings, choose to show a thank-you message or to redirect to any URL.
Yes. Register a block in the forming category and append it to the allowlist with the forming_field_blocks filter. Use the forming_submission_saved action to react to new entries.
Yes. Forming Forms is free and licensed under the GPLv2 or later.