removing unessary write log
This commit is contained in:
parent
9b9909ef44
commit
a3653210a0
|
|
@ -54,8 +54,6 @@ function load_more_brochures()
|
||||||
|
|
||||||
// $isQueryEmpty = $ajax_query->have_posts() ? false : true;
|
// $isQueryEmpty = $ajax_query->have_posts() ? false : true;
|
||||||
$isQueryEmpty = $offset + 1 >= $ajax_query->max_num_pages ? true : false;
|
$isQueryEmpty = $offset + 1 >= $ajax_query->max_num_pages ? true : false;
|
||||||
write_log($isQueryEmpty);
|
|
||||||
|
|
||||||
// BREAK IF QUERY IS EMPTY
|
// BREAK IF QUERY IS EMPTY
|
||||||
if ($ajax_query->have_posts() == false) {
|
if ($ajax_query->have_posts() == false) {
|
||||||
wp_send_json(array('data' => '', 'isQueryEmpty' => $isQueryEmpty));
|
wp_send_json(array('data' => '', 'isQueryEmpty' => $isQueryEmpty));
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user