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 = wpg_order_export::advanced_option_settings(); 
  4. ?> 
  5.  
  6. <tr> 
  7.  
  8. <th> 
  9. <?php _e( 'Fix weird charactes in CSV', 'woocommerce-simply-order-export') ?> 
  10. <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"> 
  11. </th> 
  12.  
  13. <td> 
  14. <input type="checkbox" name="wpg_fix_chars" value="1" <?php checked( $settings['wsoe_fix_chars'], 1, true ); ?> /> 
  15. </td> 
  16.  
  17. </tr><?php 
  18.