Description
The wsf_submit_export_csv_header filter hook is used to modify the headers that appear in submission CSV exports.
Usage
add_filter( 'wsf_submit_export_csv_header', 'my_hook_function', 10, 2 );
Parameters
Example
// Callback function for the wsf_submit_export_csv_header filter hook function my_hook_function( $csv_header, $form_id ) { // Your code here ... // Return value return $csv_header; } // Add a callback function for the wsf_submit_export_csv_header filter hook add_filter( 'wsf_submit_export_csv_header', 'my_hook_function', 10, 2 );
Source File
This hook can be found in:<plugin root>/includes/core/class-ws-form-submit.php