How to control data output
-
In my CF7 I have select field for recipients address which uses
[select* field-recipient include_blank "Label A | [email protected]" "Label B | [email protected]"]
By running
add_filter( 'cfdb7_before_save_data', function ( array $form_data ): array { var_dump($form_data); } );
I get this output as recipient without return label value
["field-recipient"]=> array(1) { [0]=> string(19) "[email protected]" }
how can I access to label value?
- The topic ‘How to control data output’ is closed to new replies.