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