Caldera_Forms_CSV_Util

Utility functions for CSV related work.

Defined (1)

The class is defined in the following location(s).

/classes/csv/util.php  
  1. class Caldera_Forms_CSV_Util { 
  2.  
  3. /** 
  4. * Get the character encoding for CSV files 
  5. * @since 1.4.4 
  6. * @param array $form Form config. Technically optional, but should always be passed for benefit of filter. 
  7. * @return string 
  8. */ 
  9. public static function character_encoding( array $form = array() ) { 
  10.  
  11. /** 
  12. * Change the character encoding for CSV 
  13. * Used for entry export and email attachments 
  14. * @since 1.4.4 
  15. * @param string $encoding. Default is 'utf-8' 
  16. * @param array $form Current form configuration. 
  17. */ 
  18. return apply_filters( 'caldera_forms_csv_character_encoding', 'utf-8', $form ); 
  19.