Skip to main content

GravityKit\GravityMigrate\Platforms\ContactForm7\ContactForm7SourceAdapter

Source: src/Platforms/ContactForm7/ContactForm7SourceAdapter.php:38

Details

  • Kind: class
  • Namespace: GravityKit\GravityMigrate\Platforms\ContactForm7
  • Extends: AbstractSourceAdapter

Properties

PropertyTypeDescription
$field_label_maparrayGravity Forms field id to label, for writing merge tags.
$form_markupstringThe markup of the form being converted.
$acceptance_warningsstring[]Warnings raised while mapping an acceptance tag.
$file_type_warningsstring[]Warnings raised while reading a file tag's filetypes: option.
$dropped_smart_tagsarray<string,bool>

Methods

MethodDescription
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

NameTypeDefaultDescription
$source_formarraySource form payload.

Returns

  • array | \WP_Error — Prepared payload array or WP_Error on failure.

Since: %ver%

Source: src/Platforms/ContactForm7/ContactForm7SourceAdapter.php:91