wooccm_js_str

The WooCommerce Checkout Manager wooccm js str function.

Description

wooccm_js_str( $s ); 

Parameters (1)

0. $s
The s.

Usage

  1. if ( !function_exists( 'wooccm_js_str' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'woocommerce-checkout-manager/includes/classes/file_upload/main_upload.php'; 
  3.  
  4. // The s. 
  5. $s = null; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = wooccm_js_str($s); 
  9.  

Defined (1)

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

/includes/classes/file_upload/main_upload.php  
  1. function wooccm_js_str($s) 
  2. return '"' . addcslashes($s, "\0..\37\"\\") . '"';