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.

ParameterTypeDescription
$messagesarrayOne message per country/language. The key must be an ISO code representing the country and the value the string to show

Changelog

VersionDescription
3.0.0Introduced
4.0.0Removed

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',
  ];
});