From 61cf8848180d55cd1a54d32bfd53f75ed866ce53 Mon Sep 17 00:00:00 2001 From: Antoine M Date: Tue, 11 Jun 2024 10:29:13 +0200 Subject: [PATCH] limiting countries array to belgique for commande publicatons papier --- includes/forms.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/forms.php b/includes/forms.php index 35922f1..2a9659a 100644 --- a/includes/forms.php +++ b/includes/forms.php @@ -27,7 +27,7 @@ function homegrade_paper_publications_form_limit_countries($form) { add_filter('gform_countries', function ($countries) { - return array(__("Belgique", "homegrade_theme--texte-fonctionnel")); + return array("Belgique" => __("Belgique", "homegrade_theme--texte-fonctionnel")); }); return $form;