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,