sequra_get_shopper_title
Hook
Filter
Allow changing title of the shopper.
Description
This filter allows set the title of the shopper (e.g., mr
, mrs
).
Parameter | Type | Description |
---|---|---|
$title | string | The shopper title |
$order | WC_Order | The order or null |
Changelog
Version | Description |
---|---|
3.0.0 | Introduced |
Usage Example
add_filter('sequra_get_shopper_title', function($title, $order){
$title = 'mr'; // Modify the default value
return $title;
}, 10, 2);
Updated about 1 month ago