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.

ParameterTypeDescription
$datestringThe shopper last updated date
$orderWC_OrderThe order or null

Changelog

VersionDescription
3.0.0Introduced

Usage Example

add_filter('sequra_get_shopper_updated_at', function($date, $order){
  $date = '2000-01-01'; // Modify the default value
  return $date;
}, 10, 2);