sequra_mini_widget_default_message
Hook
Filter
Filter the default message for the mini widget.
Description
This filter allows modifying the default message shown to shopper in cart and listing promotional widgets.
Parameter | Type | Description |
---|---|---|
$messages | array | One message per country/language. The key must be an ISO code representing the country and the value the string to show |
Changelog
Version | Description |
---|---|
3.0.0 | Introduced |
Usage Example
add_filter('sequra_mini_widget_default_message', function($statuses){
return [
'ES' => 'Desde %s/mes con seQura',
'FR' => 'À partir de %s/mois avec seQura',
'IT' => 'Da %s/mese con seQura',
'PT' => 'De %s/mês com seQura',
];
});
Updated about 1 month ago