sequra_get_shopper_updated_at
Hook
Filter
Allow changing the the last time the shopper data was updated.
Description
This filter allows set the last time the shopper data was updated.
Parameter | Type | Description |
---|---|---|
$date | string | The shopper last updated date |
$order | WC_Order | The order or null |
Changelog
Version | Description |
---|---|
3.0.0 | Introduced |
Usage Example
add_filter('sequra_get_shopper_updated_at', function($date, $order){
$date = '2000-01-01'; // Modify the default value
return $date;
}, 10, 2);
Updated about 1 month ago