wooccm_query_list

The WooCommerce Checkout Manager wooccm query list function.

Description

wooccm_query_list( $query ); 

Parameters (1)

0. $query
The query.

Usage

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

Defined (1)

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

/includes/classes/main.php  
  1. function wooccm_query_list( $query ) { 
  2. global $pagenow; 
  3. if ( is_admin() && $pagenow=='edit.php' && isset($_GET['wooccm_abbreviation']) && $_GET['wooccm_abbreviation'] != '') { 
  4. $query->query_vars[ 'meta_key' ] = $_GET['wooccm_abbreviation'];