wooccm_mul_array

Breakdown csv and change to descending order by $key.

Description

wooccm_mul_array( $val, $array ); 

function wooccm_descending_order_csv($heading)

Parameters (2)

0. $val
The val.
1. $array
The array.

Usage

  1. if ( !function_exists( 'wooccm_mul_array' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'woocommerce-checkout-manager/includes/classes/main.php'; 
  3.  
  4. // The val. 
  5. $val = null; 
  6.  
  7. // The array. 
  8. $array = null; 
  9.  
  10. // NOTICE! Understand what this does before running. 
  11. $result = wooccm_mul_array($val, $array); 
  12.  

Defined (1)

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

/includes/classes/main.php  
  1. function wooccm_mul_array($val, $array) { 
  2. foreach ($array as $item) 
  3. if (isset($item['cow']) && $item['cow'] == $val) 
  4. return true; 
  5. return false;