From a3653210a0e92107710ecfb228a71e534fe16daf Mon Sep 17 00:00:00 2001 From: Antoine M Date: Wed, 24 Jan 2024 15:34:06 +0100 Subject: [PATCH] removing unessary write log --- includes/ajax.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/includes/ajax.php b/includes/ajax.php index d2a2000..74dcaff 100644 --- a/includes/ajax.php +++ b/includes/ajax.php @@ -54,8 +54,6 @@ function load_more_brochures() // $isQueryEmpty = $ajax_query->have_posts() ? false : true; $isQueryEmpty = $offset + 1 >= $ajax_query->max_num_pages ? true : false; - write_log($isQueryEmpty); - // BREAK IF QUERY IS EMPTY if ($ajax_query->have_posts() == false) { wp_send_json(array('data' => '', 'isQueryEmpty' => $isQueryEmpty));