sequra_get_shopper_created_at
Hook Filter
Allow changing registration date of the shopper.
Description
This filter allows set the registration date of the shopper.
| Parameter | Type | Description |
|---|---|---|
$date | string | The shopper registration date |
$order | WC_Order | The order or null |
Changelog
| Version | Description |
|---|---|
| 3.0.0 | Introduced |
Usage Example
add_filter('sequra_get_shopper_created_at', function($date, $order){
$date = '2000-01-01'; // Modify the default value
return $date;
}, 10, 2);Updated 6 months ago