GravityKit\GravityMigrate\Platforms\ContactForm7\ContactForm7SourceAdapter
Source: src/Platforms/ContactForm7/ContactForm7SourceAdapter.php:38
Details
- Kind:
class - Namespace:
GravityKit\GravityMigrate\Platforms\ContactForm7 - Extends:
AbstractSourceAdapter
Properties
| Property | Type | Description |
|---|---|---|
$field_label_map | array | Gravity Forms field id to label, for writing merge tags. |
$form_markup | string | The markup of the form being converted. |
$acceptance_warnings | string[] | Warnings raised while mapping an acceptance tag. |
$file_type_warnings | string[] | Warnings raised while reading a file tag's filetypes: option. |
$dropped_smart_tags | array<string, | bool> |
Methods
| Method | Description |
|---|---|
build_prepared_payload() | Builds a prepared payload for a Gravity Forms import. |
Method Reference
build_prepared_payload()
public function build_prepared_payload( array $source_form )
Builds a prepared payload for a Gravity Forms import.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
$source_form | array | Source form payload. |
Returns
array|\WP_Error— Prepared payload array or WP_Error on failure.
Since: %ver%
Source: src/Platforms/ContactForm7/ContactForm7SourceAdapter.php:91