'shift', 'posts_per_page' => -1)); ?> have_posts()) : $loop->the_post(); ?> post->ID); $employee_clock_in_time = isset($custom["employee_clock_in_time"][0]) ? sanitize_text_field($custom["employee_clock_in_time"][0]) : null; $employee_clock_out_time = isset($custom["employee_clock_out_time"][0]) ? sanitize_text_field($custom["employee_clock_out_time"][0]) : null; $ip_address_in = isset($custom["ip_address_in"][0]) ? sanitize_text_field($custom["ip_address_in"][0]) : null; $alternate_class=""; if ($count % 2 == 0) { $alternate_class = "alternate"; } if ($employee_clock_out_time == null || $employee_clock_out_time == ''){ ?>
getEmployeeName($author_id)); ?> getDepartmentColumn($author_id)); ?> isValidDate($employee_clock_in_time)) { $newDate = date($this->getDateTimeFormat(), strtotime($employee_clock_in_time)); echo esc_attr($newDate); } ?> getMonitoringShiftColumn($author_id); ?>

: