|
/ Documentation /Developer Documentation/Filter Hooks/ srfm_normalize_csv_field_value

srfm_normalize_csv_field_value

Description

Filters a field value as it is normalized for CSV export. Fired in both Free (entries export) and Pro (partial entries export).

Parameters

  • $value (mixed) – The raw field value.
  • $field_key (string) – The field key.

Filter Source

PHP
/**
* filter source (Free+Pro) Free: inc/entries.php, Pro: inc/business/partial-entries/init.php 
*/
apply_filters( 'srfm_normalize_csv_field_value', $raw, $field_key )

Filter Usage

PHP
add_filter( 'srfm_normalize_csv_field_value', 'my_callback', 10, 2 ); 
function my_callback( $value, $field_key ) { 
return $value; 
}

Filter Example

PHP
add_filter( 'srfm_normalize_csv_field_value', 'my_callback', 10, 2 );
 function my_callback( $value, $field_key ) { 
 return $value; 
 }
Was this doc helpful?
What went wrong?

We don't respond to the article feedback, we use it to improve our support content.

Need help? Contact Support
Table of Contents
Scroll to Top