CMATIC_LITE_FIELDS; $notice_class = $show_notice ? 'cmatic-visible' : 'cmatic-hidden'; $audience_name = self::resolve_audience_name( $cf7_mch ); $docs_url = Cmatic_Pursuit::url( 'https://chimpmatic.com/mailchimp-default-audience-fields-explained', 'plugin', 'fields_notice', 'docs' ); ?>

, 2: total merge fields count, 3: lite fields limit */ __( 'Your %1$s audience has %2$d merge fields. Chimpmatic Lite supports up to %3$d field mappings.', 'chimpmatic-lite' ), '' . esc_html( $audience_name ) . '', $total_merge, CMATIC_LITE_FIELDS ); echo wp_kses( $notice_text, array( 'strong' => array() ) ); ?>

'Field ' . $field_index, 'type' => 'text', 'required' => false, 'description' => 'Map a form field to Mailchimp', 'merge_tag' => '', ); } $tag = $merge_field['tag'] ?? ''; $name = $merge_field['name'] ?? $tag; $type = $merge_field['type'] ?? 'text'; $config = array( 'label' => $name . ' - *|' . $tag . '|* ' . esc_html( $type ) . '', 'type' => 'text', 'required' => false, 'description' => 'Map a form field to Mailchimp', 'merge_tag' => $tag, ); if ( 'EMAIL' === $tag ) { $config['required'] = true; $config['type'] = 'email'; $config['description'] = 'MUST be an email tag Learn More'; } return $config; } private static function render_field_row( string $field_key, array $form_tags, array $cf7_mch, array $config ): void { ?>