wsoe_array_filter

Filters elements of array.

Description

(boolean) wsoe_array_filter( (bool) $value ); 

Returns (boolean)

Parameters (1)

0. $value (bool)
The value.

Usage

  1. if ( !function_exists( 'wsoe_array_filter' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'woocommerce-simply-order-export/lib/functions.php'; 
  3.  
  4. // The value. 
  5. $value = true; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = wsoe_array_filter($value); 
  9.  

Defined (1)

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

/lib/functions.php  
  1. function wsoe_array_filter( $value ) { 
  2.  
  3. if( $value == true ) { 
  4. return true; 
  5.  
  6. return false;