Inventory_Presser_Plugin::meta_query_contains_clause( mixed $meta_query, mixed $key, mixed $value, mixed $compare, mixed $type )
Checks if a meta_query already contains a clause.
Parameters Parameters
- $meta_query
-
(mixed) (Required)
- $key
-
(mixed) (Required)
- $value
-
(mixed) (Required)
- $compare
-
(mixed) (Required)
- $type
-
(mixed) (Required)
Return Return
(bool)
Source Source
File: inventory-presser.php
_doing_it_wrong( __METHOD__, 'This feature has moved to includes/class-range-filters.php.', '15.2.0' ); return false; } /** * Modifies the $query to filter vehicles by prices for the Maximum * Price Filter widget. * * @deprecated 15.2.0 This feature has moved to includes/class-range-filters.php. * @param object $query An instance of the WP_Query class. * @return void */ public function modify_query_for_max_price( $query ) { _doing_it_wrong( __METHOD__, 'This feature has moved to includes/class-range-filters.php.', '15.2.0' ); } /** * Filter callback. Modifies a query's ORDER BY clause to appropriately * sort some meta values as numbers instead of strings while adding fields
Expand full source codeCollapse full source codeView on Github