sequra_get_nin
Hook
Filter
Allow changing NIN of the shopper.
Description
This filter allows set the NIN (National Identification Number) of the shopper.
Parameter | Type | Description |
---|---|---|
$nin | string | The NIN |
$order | WC_Order | The order or null |
Changelog
Version | Description |
---|---|
3.0.0 | Introduced |
Usage Example
add_filter('sequra_get_nin', function($nin, $order){
$nin = '23232323T'; // Modify the default value
return $nin;
}, 10, 2);
Updated about 1 month ago