Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function my_products_conditions($conditions = array()) {
- //do something here by removing or appending to the $conditions array.
- //for example...
- $conditions['suplier_id'] = "9";
- return $conditions;
- }
- add_filter('wpco_products_conditions', 'my_products_conditions', 10, 1);
Advertisement
Add Comment
Please, Sign In to add comment