removing unessary write log

This commit is contained in:
Antoine M 2024-01-24 15:34:06 +01:00
parent 9b9909ef44
commit a3653210a0

View File

@ -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));