woopp_is_non

The WooCommerce PDF & Print woopp is non function.

Description

woopp_is_non( $str ); 

Parameters (1)

0. $str
The str.

Usage

  1. if ( !function_exists( 'woopp_is_non' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'woocommerce-pdf-print/functions.php'; 
  3.  
  4. // The str. 
  5. $str = null; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = woopp_is_non($str); 
  9.  

Defined (1)

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

/functions.php  
  1. function woopp_is_non( $str ) { 
  2. $array = array( 0 => '', 1 => '', 2 => '', 3 => '', 4 => '', 5 => '', 6 => '', 7 => '', 8 => '', 9 => '', 10 => '', 11 => '', 12 => '', 13 => '', 14 => '', 15 => '', 16 => '', 17 => '', 18 => '', 19 => '', 20 => '', 21 => '', 22 => '', 23 => '', 24 => '', 25 => '', 26 => '', 27 => '', 28 => '', 29 => '', 30 => '', 31 => '', 32 => '', 33 => '', 34 => '', 35 => '', 36 => '', 37 => '', 38 => '', 39 => '', 40 => '', 41 => '', 42 => '', 43 => '', 44 => '', 45 => '', 46 => '', 47 => '', 48 => '', 49 => '', 50 => '', 51 => '', 52 => '', 53 => '', 54 => '', 55 => '', 56 => '', 57 => '', 58 => '', 59 => '', 60 => '', 61 => '', 62 => '', 63 => '', '*', '*', '*', '*', '*', '*' ); 
  3. foreach( $array as $char ) { 
  4. if( strpos( $str, $char) !== FALSE ) { 
  5. return true; 
  6. return false;