From ff03b6ba2451a07a0abfb4a96223c7005283dbe9 Mon Sep 17 00:00:00 2001 From: Nonimart Date: Tue, 29 Jul 2025 14:17:47 +0200 Subject: [PATCH] FIX test --- includes/artisans.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/includes/artisans.php b/includes/artisans.php index 7701dbf..5b71217 100644 --- a/includes/artisans.php +++ b/includes/artisans.php @@ -215,6 +215,9 @@ add_action('add_meta_boxes', function () { function render_custom_chantier_box_content($post) { + + $artisans_id_fr = apply_filters('wpml_object_id', $post->ID, 'artisans', TRUE, 'fr'); + $args = array( 'post_type' => 'chantiers', 'posts_per_page' => -1,