wpp_filter_strip

The WooCommerce PDF & Print wpp filter strip function.

Description

wpp_filter_strip( $str ); 

Parameters (1)

0. $str
The str.

Usage

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

Defined (1)

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

/functions.php  
  1. function wpp_filter_strip( $str ) { 
  2. return $str = strip_tags(trim( $str ));