Custom Filter
-
Hi i use order delivery from woocommerce and need to filter by delivery date i have populated custom fields like below
my issue is i need to programically add the value of the date not just dropdown can i do this?
e.gadd_filter('woe_get_order_value_order_custom_fields',function ($value, $order,$fieldname) { $value = "_delivery_date = ".date('Y-m-d', strtotime("1 day", date('Y-m-d'))); return $value; },10,3);
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Custom Filter’ is closed to new replies.