Descrizione

The wpforms_entry_csv_attachment_include_hidden filter controls whether hidden fields are included in entry CSV exports. By default, hidden fields are excluded.

This applies to fields created with the Hidden Field form field as well as deleted fields that were previously part of the form.

parametrotipodescrizione
$include_hiddenboolWhether to include hidden fields in CSV exports. Default is false.

Origine

wpforms\src\Pro\Admin\Builder\Notifications\Advanced\EntryCsvAttachment.php

Esempio

/**
 * Include hidden fields in entry exports.
 */
add_filter( 'wpforms_entry_csv_attachment_include_hidden', '__return_true' );

Articolo di riferimento