Description
The wpforms_pro_admin_entries_export_ajax_request_data
filters $request_data
during ajax request.
Parameters
- $request_data
- (array) Request data array.
Source
wpforms/src/Pro/Admin/Entries/Export/Ajax.php
More Information
The filter will allow for developers who want to modify the entry data before the export is generated.
Examples
/** * Filter $request_data during ajax request. * * @link https://wpforms.com/developers/the-wpforms_pro_admin_entries_export_ajax_request_data-filter-fires-upon-entry-export/ * * @param array $request_data Request data array. */ function wpf_ajax_export_add_data( $request_data ) { // Add a new key/value pair to the request data. $request_data[ 'foo' ] = 'bar'; // Return the updated request data. return $request_data; } add_filter( 'wpforms_pro_admin_entries_export_ajax_request_data', 'wpf_ajax_export_add_data' );