| 开发者 | mksddn |
|---|---|
| 更新时间 | 2026年1月24日 19:09 |
| PHP版本: | 8.0 及以上 |
| WordPress版本: | 6.9 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
/wp-content/plugins/mksddn-forms-handler directory, or install the plugin through the WordPress plugins screen directly.[mksddn_fh_form id="form_id"] or [mksddn_fh_form slug="form-slug"] to display forms on your pagesYes! The plugin is designed to work with any WordPress theme. Forms are displayed using shortcodes and can be styled with CSS.
Yes, the plugin includes comprehensive security measures:
Yes! The plugin provides REST API endpoints for AJAX form submissions. Check the REST API section for details.
Yes! Enable "Accept any fields from frontend" in form settings (Advanced Settings section). This allows submitting any field names without defining them in Fields Configuration - perfect for custom forms where you control the HTML. All fields are still sanitized, but type validation is skipped. You can also use the mksddn_fh_allowed_fields filter in your theme's functions.php to dynamically allow specific fields or all fields (return ['*']).
get_page_url() method to extract page URL from refererarray_of_objects field type with full nested field validationarray_of_objects type only - prevents validation bypassvalidate_array_of_objects() method for comprehensive array validationsanitize_array_of_objects() method for type-based sanitizationfields propertytext type for arrays must be updated to array_of_objects typeoptions and multiple support in fields JSON/wp/v2/forms route; unified custom namespaceGET /wp-json/mksddn-forms-handler/v1/formsGET /wp-json/mksddn-forms-handler/v1/forms/{slug}uninstall.php to clean plugin options and transients (keeps CPT data)