sequra_mini_widget_default_message
Hook Filter
Filter the default message for the mini widget.
This hook is no longer available since version 4.0.0.
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 |
| 4.0.0 | Removed |
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 15 days ago