wsoe_fix_weird_chars

Fix weird characters in CSV.

Description

wsoe_fix_weird_chars(); 

Usage

  1. if ( !function_exists( 'wsoe_fix_weird_chars' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'woocommerce-simply-order-export/lib/functions.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = wsoe_fix_weird_chars(); 
  7.  

Defined (1)

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

/lib/functions.php  
  1. function wsoe_fix_weird_chars() { 
  2.  
  3. $settings = WSOE()->settings['plugin_settings']; ?> 
  4.  
  5. <tr> 
  6.  
  7. <th> 
  8. <?php _e( 'Fix weird charactes in CSV', 'woocommerce-simply-order-export') ?> 
  9. <img class="help_tip" data-tip="<?php _e('Check this option only if you are getting some weird characters in exported CSV file', 'woocommerce-simply-order-export') ?>" src="<?php echo WSOE_IMG; ?>help.png" height="16" width="16"> 
  10. </th> 
  11.  
  12. <td> 
  13. <input type="checkbox" name="wpg_fix_chars" value="1" <?php checked( $settings['wsoe_fix_chars'], 1, true ); ?> /> 
  14. </td> 
  15.  
  16. </tr><?php 
  17.