woopp_is_english

The WooCommerce PDF & Print woopp is english function.

Description

woopp_is_english( $str ); 

Parameters (1)

0. $str
The str.

Usage

  1. if ( !function_exists( 'woopp_is_english' ) ) { 
  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_english($str); 
  9.  

Defined (1)

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

/functions.php  
  1. function woopp_is_english($str) { 
  2. if (strlen($str) != mb_strlen(utf8_decode($str))) { 
  3. return false; 
  4. } else { 
  5. return true;