Warning: This method has been deprecated. This feature has moved to includes/class-range-filters.php instead.
Inventory_Presser_Plugin::maybe_add_meta_query( array $meta_query, string $key, string $value, string $compare, string $type )
Filter callback that changes a query’s meta_query value if the meta_query does not already contain the provided $key.
On This Page
Parameters Parameters
Return Return
(array) The modified $meta_query array
Source Source
File: inventory-presser.php
public static function maybe_add_meta_query( $meta_query, $key, $value, $compare, $type ) {
_doing_it_wrong( __METHOD__, 'This feature has moved to includes/class-range-filters.php.', '15.2.0' );
return $meta_query;
}
Expand full source codeCollapse full source codeView on Github