Inventory_Presser_Taxonomies::tax_query_exclude_sold()

Creates an array that can be set as a query’s tax_query that will exclude sold vehicles.


Return Return

(array)


Top ↑

Source Source

File: includes/class-taxonomies.php

	public static function tax_query_exclude_sold() {
		return array(
			array(
				'taxonomy' => 'availability',
				'field'    => 'slug',
				'terms'    => 'sold',
				'operator' => 'NOT IN',
			),
		);
	}