wooccm_mul_array2

The WooCommerce Checkout Manager wooccm mul array2 function.

Description

wooccm_mul_array2( $val ); 

Parameters (1)

0. $val
The val.

Usage

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

Defined (1)

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

/includes/classes/main.php  
  1. function wooccm_mul_array2($val) { 
  2. global $wpdb; 
  3. foreach ($wpdb->last_result as $item => $tru ) { 
  4. if (isset($tru->meta_key) && $tru->meta_key == $val) { 
  5. return true; 
  6. return false;