From 928e7af7d82529bbe886ecf3921fdfe3f92b478e Mon Sep 17 00:00:00 2001 From: Antoine M Date: Wed, 20 May 2026 14:05:52 +0200 Subject: [PATCH] REMOVE debug logging statements from carhop_get_post_card_link_according_to_post_datas function for cleaner code --- includes/utilities.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/includes/utilities.php b/includes/utilities.php index ed6c747..2812abc 100644 --- a/includes/utilities.php +++ b/includes/utilities.php @@ -493,7 +493,6 @@ function carhop_get_post_card_link_according_to_post_datas($post_id, $card_args $type_analyse_etude = get_the_terms($post_id, 'type-analyse-etude')[0] ?? null; if ($type_analyse_etude->slug === 'analyse') { - write_log("######"); $link_type = get_field('link_type', $post_id); switch ($link_type) { @@ -522,7 +521,6 @@ function carhop_get_post_card_link_according_to_post_datas($post_id, $card_args case 'dbmob': $maitron_url = get_field('maitron_url', $post_id); - write_log($maitron_url); $link = $maitron_url ?? get_the_permalink($post_id); $target = '_blank'; $text = 'Voir la notice';