Skip to content

Instantly share code, notes, and snippets.

@MonteLogic
Last active February 4, 2022 06:12
Show Gist options
  • Save MonteLogic/6c2cb77632c758e4f30d5720553dda98 to your computer and use it in GitHub Desktop.
Save MonteLogic/6c2cb77632c758e4f30d5720553dda98 to your computer and use it in GitHub Desktop.
Trying to call this function from wooCommerce hooks but it give me an error suppling the foreach loop

I am trying to call this function/hook which is in the wooCommerce codebase but when I run my code it gives me an error.

Warning: Invalid argument supplied for foreach() in C:\wp-content\plugins\woocommerce-bookings\includes\admin\class-wc-bookings-calendar.php on line 241

Even when I console.log the events array it gives me a good array.

This function is the function I'm trying to call: $findDateBooking->list_bookings($day, $month, $year);

<?php
/**
* Provide a admin area view for the plugin
*
* This file is used to markup the admin-facing aspects of the plugin.
*
* @link https://wp2mag.blogspot.com
* @since 1.0.0
*
* @package Course_Manager
* @subpackage Course_Manager/admin/partials
*/
?>
<!-- This file should primarily consist of HTML with a little bit of PHP. -->
<h1>&nbsp;</h1>
<script src = "https://code.jquery.com/jquery-1.10.2.js"></script>
<script src = "https://code.jquery.com/ui/1.10.4/jquery-ui.js"></script>
<!-- Javascript -->
<script>
$(function() {
$( "#datepicker-13" ).datepicker();
$( "#datepicker-13" ).datepicker("show");
});
</script>
<form action="" method="post">
<!-- HTML -->
<p>Enter Date:</p>
<input name="date" type = "text" id = "datepicker-13">
<h1>&nbsp;</h1>
<p>Enter Course:</p>
<select name="courseName" id="courseNameId">
<?php foreach ( WC_Bookings_Admin::get_booking_products() as $product ) : ?>
<option value="<?php echo esc_attr( $product->get_id() ); ?>"><?php echo esc_html( sprintf( '%s (#%s)', $product->get_name(), $product->get_id() ) ); ?></option>
<?php endforeach; ?>
</select>
<h1>&nbsp;</h1>
<input type ="submit">
</form>
<h1>&nbsp;</h1>
<?
// Access WordPress database
global $wpdb;
if(isset($_POST["date"]) && isset($_POST["courseName"])){
$searchDate = $_POST['date'];
$month = substr($searchDate,0,2);
$day = substr($searchDate,3,2);
$year = substr($searchDate,6);
echo $month.$day.$year;
$day_start = strtotime( 'midnight', strtotime( $day ) );
$day_end = strtotime( 'midnight +1 day', strtotime( $day ) ) - 1;
$findDateBooking = new WC_Bookings_Calendar();
$product_filter = isset( $_REQUEST['filter_bookings_product'] ) ? absint( $_REQUEST['filter_bookings_product'] ) : '';
$booking_filter = array();
if ( $product_filter ) {
array_push( $booking_filter, $product_filter );
}
$events = array();
$this->events = WC_Global_Availability_Data_Store::get_events_in_date_range(
$day_start,
$day_end,
$booking_filter,
false
);
// Get this function to work:
$findDateBooking->list_bookings($day, $month, $year);
// var_dump($events);
$courseName = $_POST['courseName'];
<?php
/**
* List bookings for a day.
*/
// Try this
public function list_bookings( $day, $month, $year ) {
$date_start = strtotime( "$year-$month-$day midnight" ); // Midnight today.
$date_end = strtotime( "$year-$month-$day tomorrow" ); // Midnight next day.
$booking_count = 0;
foreach ( $this->events as $event ) {
$event_classes = array( 'wc-bookings-event-link' );
$title = '';
$id = '';
$style = '';
if ( 'WC_Booking' === get_class( $event ) ) {
$booking = $event;
$start = $booking->get_start();
$end = $booking->get_end();
if ( $start >= $date_end || $end < $date_start ) {
continue;
}
$multi_day = false;
// Mark an event if it will be present in multiple days.
if ( $start < $date_start || $end > $date_end ) {
$multi_day = true;
}
$product = $booking->get_product();
$start_date = $booking->get_start_date( '', wc_bookings_time_format() );
$is_all_day = $booking->is_all_day();
$detail_href = admin_url( 'post.php?post=' . $booking->get_id() . '&action=edit' );
if ( $product ) {
$title = $product->get_title();
}
$id = $booking->get_id();
$style .= $multi_day ? 'color:' . $this->colours[ $id ]['color'] . ';background-color:' . $this->colours[ $id ]['background'] . ';' : '';
} else { // Extract global availability data.
$availability = $event;
$range = $availability->get_time_range_for_date( $date_start );
if ( is_null( $range ) ) {
continue;
}
$start = $range['start'];
$is_all_day = $availability->is_all_day();
$title = ! empty( $availability->get_title() ) ? $availability->get_title() : __( 'Unavailable', 'woocommerce_bookings' );
$title .= ' ' . __( '(From Google Calendar)', 'woocommerce-bookings' );
$detail_href = admin_url( 'edit.php?post_type=wc_booking&page=wc_bookings_settings' );
$event_classes[] = 'no_availability';
$id = $event->get_gcal_event_id();
if ( $availability->date_starts_today( $start ) ) {
$start_date = $availability->get_formatted_date( $start, '', wc_bookings_time_format() );
} else {
$start_date = '';
}
}
$booking_count++;
if ( $start < current_time( 'timestamp' ) ) {
$event_classes[] = 'past_booking';
}
if ( self::MAX_BOOKINGS_PER_DAY >= $booking_count ) {
$booking_data = $this->get_booking_data( $event, $date_start );
$data_attr = '';
if ( is_null( $booking_data ) ) {
continue;
}
foreach ( $booking_data as $attr => $value ) {
$esc_val = esc_attr( $value );
$data_attr .= "data-booking-{$attr}=\"{$esc_val}\" ";
}
$data_attr .= ' data-classes="' . esc_attr( implode( ' ', $event_classes ) ) . '"';
$data_attr .= ' data-style="' . esc_attr( $style ) . '"';
$data_attr .= ' data-url="' . esc_attr( $detail_href ) . '"';
echo '<li class="calendar_month_event calendar_event_id_' . esc_attr( $id ) . '" data-id="' . esc_attr( $id ) . '" ' . $data_attr . '></li>'; // phpcs:ignore WordPress.Security.EscapeOutput
}
}
$remaining_bookings_count = $booking_count - self::MAX_BOOKINGS_PER_DAY;
if ( 0 < $remaining_bookings_count ) {
/* translators: 1: number of bookings that are not displayed on calendar day */
$message = sprintf( __( '%d more', 'woocommerce-bookings' ), $remaining_bookings_count );
$day_view_url = admin_url( 'edit.php?post_type=wc_booking&page=booking_calendar&view=day&tab=calendar&calendar_day=' . date( 'Y-m-d', $date_start ) );
echo '<a href="' . esc_attr( $day_view_url ) . '" class="full_day_link">' . esc_html( $message ) . '</a>';
}
}
<?php
/**
* WC_Bookings_Calendar.
*/
class WC_Bookings_Calendar {
/**
* Stores Bookings/Availability.
*
* @var array Mixed type of WC_Global_Availability and WC_Booking
*/
private $events;
/**
* Maximum number of bookings to display in each day of the monthly calendar view.
*/
const MAX_BOOKINGS_PER_DAY = 3;
const CALENDAR_VIEWS = array(
'month',
'day',
'schedule',
);
/**
* Output the calendar view.
*/
public function output() {
global $wp_version;
wp_enqueue_script( 'wc-enhanced-select' );
wp_enqueue_script( 'wc_bookings_admin_js' );
$product_filter = isset( $_REQUEST['filter_bookings_product'] ) ? absint( $_REQUEST['filter_bookings_product'] ) : '';
$resource_filter = isset( $_REQUEST['filter_bookings_resource'] ) ? absint( $_REQUEST['filter_bookings_resource'] ) : '';
$default_view = wp_is_mobile() ? 'schedule' : 'day';
$view = isset( $_REQUEST['view'] ) && in_array( $_REQUEST['view'], self::CALENDAR_VIEWS ) ? $_REQUEST['view'] : $default_view;
$booking_filter = array();
if ( $product_filter ) {
array_push( $booking_filter, $product_filter );
}
if ( $resource_filter ) {
array_push( $booking_filter, $resource_filter );
}
$month = isset( $_REQUEST['calendar_month'] ) ? absint( $_REQUEST['calendar_month'] ) : current_time( 'n' );
$year = isset( $_REQUEST['calendar_year'] ) ? absint( $_REQUEST['calendar_year'] ) : current_time( 'Y' );
$day = isset( $_REQUEST['calendar_day'] ) ? wc_clean( $_REQUEST['calendar_day'] ) : current_time( 'Y-m-d' );
if ( 'day' === $view ) {
$day_start = strtotime( 'midnight', strtotime( $day ) );
$day_end = strtotime( 'midnight +1 day', strtotime( $day ) ) - 1;
$this->events = WC_Global_Availability_Data_Store::get_events_in_date_range(
$day_start,
$day_end,
$booking_filter,
false
);
$this->global_availability_minutes = $this->get_available_minutes_for_calendar_day( $day );
$this->day = strtotime( $day );
} else {
if ( $year < ( date( 'Y' ) - 10 ) || $year > 2100 ) {
$year = date( 'Y' );
}
if ( $month > 12 ) {
$month = 1;
$year ++;
}
if ( $month < 1 ) {
$month = 12;
$year --;
}
if ( 'month' === $view ) {
/*
* WordPress start_of_week is in date format 'w'.
* We are changing it to 'N' because we want ISO-8601.
* Monday is our reference first day of the week.
*/
$start_of_week = absint( get_option( 'start_of_week', 1 ) );
$start_of_week = $start_of_week === 0 ? 7 : $start_of_week;
// On which day of the week the month starts
$month_start_day_of_week = absint( date( 'N', strtotime( "$year-$month-01" ) ) );
/*
* Calculate column where the month start will be placed.
* This calculates true modulo ( never negative ).
*/
$start_column = ( 7 + ( $month_start_day_of_week - $start_of_week ) % 7 ) % 7;
/*
* Calcu start date: how many days from the previous month we need to include,
* in order to have calendar without empty days in the first row.
*/
$start_time = strtotime( "-{$start_column} day", strtotime( "$year-$month-01" ) );
// How many days the month has.
$month_number_of_days = date( 't', strtotime( "$year-$month-01" ) );
// On which day of the week the month ends.
$month_end_day_of_week = absint( date( 'N', strtotime( "$year-$month-$month_number_of_days" ) ) );
/*
* Calculate column where the last day of month will be placed.
* This calculates true modulo ( never negative ).
*/
$end_column = ( 7 + ( $month_end_day_of_week - $start_of_week ) % 7 ) % 7;
/*
* Calculate end date: how many days from the next month we need to include.
* We want to have calendar without empty days in the last row.
*/
$end_padding = 6 - $end_column;
$end_time = strtotime( "+{$end_padding} day midnight", strtotime( "$year-$month-$month_number_of_days" ) );
$this->events = WC_Global_Availability_Data_Store::get_events_in_date_range(
$start_time,
$end_time,
$booking_filter,
false
);
} elseif ( 'schedule' === $view ) {
$day = strtotime( "$year-$month-01" );
$start_time = strtotime( 'first day of this month', $day );
$end_time = strtotime( 'first day of next month', $day );
$this->events = WC_Global_Availability_Data_Store::get_events_in_date_range(
$start_time,
$end_time,
$booking_filter,
false
);
var_dump($booking_filter);
$this->days = new DatePeriod(
new DateTime( '@' . $start_time ),
new DateInterval('P1D'),
new DateTime( '@' . $end_time )
);
$this->day = strtotime( $day );
$this->events_data = $this->get_events_data_for_days( $this->days, $this->events );
}
}
$calendar_params = array(
'default_month' => esc_html( date_i18n( 'F', mktime( 0, 0, 0, $month, 10 ) ) ),
'default_year' => esc_html( $year ),
'default_day' => esc_html( isset( $_REQUEST['calendar_day'] ) ? date( 'F d, Y', strtotime( wc_clean( $_REQUEST['calendar_day'] ) ) ) : current_time( 'F d, Y' ) ),
);
// First day of currently selected year/month for datepicker default.
$default_date = "$year-$month-01";
wp_localize_script( 'wc_bookings_admin_calendar_gutenberg_js', 'wc_bookings_admin_calendar_js_params', $calendar_params );
include( 'views/html-calendar-' . $view . '.php' );
}
/**
* Pull out array of event data needed for schedule view from an
* array of bookings and global availability rules for a range of days.
*
* @param array $days Array of dates to generate event data array for.
* @param array $events Mixed array of 'WC_Global_Availability' and 'WC_Booking' objects.
*
* @return array Array of data needed for schedule view.
*/
protected function get_events_data_for_days( $days, $events ) {
$events_data = array();
//var_dump($events);
foreach ( $events as $event ) {
if ( 'WC_Booking' === get_class( $event ) ) {
$booking = $event;
$booking_data = $this->get_booking_data( $booking );
$order = $booking->get_order();
if ( ( false !== $order ) && method_exists( $order, 'get_customer_note' ) ) {
$note = $order->get_customer_note();
}
$events_data[] = array(
'customer' => $booking_data['customer'],
'title' => $booking_data['title'],
'time' => $booking_data['time'],
'resource' => $booking_data['resource'],
'persons' => $booking_data['persons'],
'url' => $booking_data['url'],
'note' => isset( $note ) ? $note : '',
'start' => $event->get_start(),
);
} else { // Extract global availability data.
$availability = $event;
// Check for applicable occurences of the availability rules for each day in range.
foreach ( $days as $day ) {
$range = $availability->get_time_range_for_date( $day->getTimestamp() );
if ( is_null( $range ) ) {
// Rule not applicable to this day, so skip it.
continue;
}
$start = $range['start'];
$short_start_time = $this->get_short_time( $range['start'] );
$short_end_time = $this->get_short_time( $range['end'] );
$time = $availability->is_all_day() ? __( 'All Day', 'woocommerce-bookings' ) : sprintf( __( '%1$s — %2$s', 'woocommerce-bookings' ), $short_start_time, $short_end_time );
$title = ! empty( $availability->get_title() ) ? $availability->get_title() : __( 'Unavailable', 'woocommerce_bookings' );
$title .= ' ' . __( '(From Google Calendar)', 'woocommerce-bookings' );
$detail_href = admin_url( 'edit.php?post_type=wc_booking&page=wc_bookings_settings' );
if ( $availability->date_starts_today( $start ) ) {
$start_date = $availability->get_formatted_date( $start, '', wc_bookings_time_format() );
} else {
$start_date = '';
}
$events_data[] = array(
'customer' => '',
'title' => $title,
'time' => $time,
'resource' => '',
'persons' => '',
'url' => $detail_href,
'note' => '',
'start' => $start,
);
}
}
}
usort( $events_data, function( $a, $b ) {
return $a['start'] > $b['start'];
} );
return $events_data;
}
/**
* List bookings for a day.
*/
// Try this
public function list_bookings( $day, $month, $year ) {
$date_start = strtotime( "$year-$month-$day midnight" ); // Midnight today.
$date_end = strtotime( "$year-$month-$day tomorrow" ); // Midnight next day.
$booking_count = 0;
foreach ( $this->events as $event ) {
$event_classes = array( 'wc-bookings-event-link' );
$title = '';
$id = '';
$style = '';
if ( 'WC_Booking' === get_class( $event ) ) {
$booking = $event;
$start = $booking->get_start();
$end = $booking->get_end();
if ( $start >= $date_end || $end < $date_start ) {
continue;
}
$multi_day = false;
// Mark an event if it will be present in multiple days.
if ( $start < $date_start || $end > $date_end ) {
$multi_day = true;
}
$product = $booking->get_product();
$start_date = $booking->get_start_date( '', wc_bookings_time_format() );
$is_all_day = $booking->is_all_day();
$detail_href = admin_url( 'post.php?post=' . $booking->get_id() . '&action=edit' );
if ( $product ) {
$title = $product->get_title();
}
$id = $booking->get_id();
$style .= $multi_day ? 'color:' . $this->colours[ $id ]['color'] . ';background-color:' . $this->colours[ $id ]['background'] . ';' : '';
} else { // Extract global availability data.
$availability = $event;
$range = $availability->get_time_range_for_date( $date_start );
if ( is_null( $range ) ) {
continue;
}
$start = $range['start'];
$is_all_day = $availability->is_all_day();
$title = ! empty( $availability->get_title() ) ? $availability->get_title() : __( 'Unavailable', 'woocommerce_bookings' );
$title .= ' ' . __( '(From Google Calendar)', 'woocommerce-bookings' );
$detail_href = admin_url( 'edit.php?post_type=wc_booking&page=wc_bookings_settings' );
$event_classes[] = 'no_availability';
$id = $event->get_gcal_event_id();
if ( $availability->date_starts_today( $start ) ) {
$start_date = $availability->get_formatted_date( $start, '', wc_bookings_time_format() );
} else {
$start_date = '';
}
}
$booking_count++;
if ( $start < current_time( 'timestamp' ) ) {
$event_classes[] = 'past_booking';
}
if ( self::MAX_BOOKINGS_PER_DAY >= $booking_count ) {
$booking_data = $this->get_booking_data( $event, $date_start );
$data_attr = '';
if ( is_null( $booking_data ) ) {
continue;
}
foreach ( $booking_data as $attr => $value ) {
$esc_val = esc_attr( $value );
$data_attr .= "data-booking-{$attr}=\"{$esc_val}\" ";
}
$data_attr .= ' data-classes="' . esc_attr( implode( ' ', $event_classes ) ) . '"';
$data_attr .= ' data-style="' . esc_attr( $style ) . '"';
$data_attr .= ' data-url="' . esc_attr( $detail_href ) . '"';
echo '<li class="calendar_month_event calendar_event_id_' . esc_attr( $id ) . '" data-id="' . esc_attr( $id ) . '" ' . $data_attr . '></li>'; // phpcs:ignore WordPress.Security.EscapeOutput
}
}
$remaining_bookings_count = $booking_count - self::MAX_BOOKINGS_PER_DAY;
if ( 0 < $remaining_bookings_count ) {
/* translators: 1: number of bookings that are not displayed on calendar day */
$message = sprintf( __( '%d more', 'woocommerce-bookings' ), $remaining_bookings_count );
$day_view_url = admin_url( 'edit.php?post_type=wc_booking&page=booking_calendar&view=day&tab=calendar&calendar_day=' . date( 'Y-m-d', $date_start ) );
echo '<a href="' . esc_attr( $day_view_url ) . '" class="full_day_link">' . esc_html( $message ) . '</a>';
}
}
private function get_available_minutes_for_calendar_day( $day ) {
$day_start = strtotime( 'midnight', strtotime( $day ) );
$day_end = strtotime( 'midnight +1 day', strtotime( $day ) ) - 1;
$rules = WC_Global_Availability_Data_Store::get_global_availability_in_date_range( $day_start, $day_end );
$global_rules = array();
if ( 0 < count( $rules ) ) {
$global_rules = WC_Product_Booking_Rule_Manager::process_availability_rules( $rules, 'global', false );
usort( $global_rules, array( 'WC_Product_Booking_Rule_Manager', 'sort_rules_callback' ) );
return WC_Product_Booking_Rule_Manager::get_minutes_from_rules( $global_rules, $day_start, range( 0, 1439 ) );
} else {
return range( 0, 1439 );
}
}
protected function is_day_unavailable( $day ) {
$available_minutes = $this->get_available_minutes_for_calendar_day( $day );
return 0 === count( $available_minutes );
}
/**
* Determine font color based on background color.
* Calculations rely on perceptive luminance (contrast).
*
* @param string $bg_color Background color as a hex code.
*
* @return string Font color as a hex code.
*/
protected function get_font_color( $bg_color ) {
$bg_color = hexdec( str_replace('#', '', $bg_color ) );
$red = 0xFF & ( $bg_color >> 0x10 );
$green = 0xFF & ( $bg_color >> 0x8 );
$blue = 0xFF & $bg_color;
$luminance = 1 - ( 0.299 * $red + 0.587 * $green + 0.114 * $blue ) / 255;
return $luminance < 0.5 ? '#000000' : '#ffffff';
}
/**
* Get color CSS styles for a given list of events.
*
* @param array $events
* @return array Hash event_id => color styles
*/
protected function get_event_color_styles( $events ) {
$colors = array( '#d7f1bf', '#52d4ad', '#1dbcc0', '#227a95', '#fedab9', '#feaa6e', '#ffe800', '#e67e22', '#fd8d67', '#ffb2d0', '#64d72c', '#f2d7d5', '#e6b0aa', '#d98880', '#cd6155' );
$booked_product_colors = array();
$assigned_colors = array();
$index = 0;
foreach ( $events as $event ) {
if ( 'WC_Global_Availability' === get_class( $event ) ) {
$assigned_colors[ $event->get_id() ] = '#dbdbdb';
continue;
}
if ( 'WC_Booking' !== get_class( $event ) ) {
$assigned_colors[ $event->get_id() ] = isset( $colors[ $index ] ) ? $colors[ $index ] : $this->random_color();
$index++;
continue;
}
if ( ! isset( $booked_product_colors[ $event->get_product_id() ] ) ) {
$booked_product_colors[ $event->get_product_id() ] = isset( $colors[ $index ] ) ? $colors[ $index ] : $this->random_color();
$index++;
}
$assigned_colors[ $event->get_id() ] = $booked_product_colors[ $event->get_product_id() ];
}
return array_map(
function( $color ) {
return array(
'background' => $color,
'color' => $this->get_font_color( $color ),
);
},
$assigned_colors
);
}
/**
* List bookings on a day.
*
* @version 1.10.7 [<description>]
*/
public function list_bookings_for_day() {
// Discard bookings that are attached to non-existent bookable products
$this->events = array_values(
array_filter(
$this->events,
function( $event ) {
if ( 'WC_Booking' === get_class( $event ) ) {
return $event->get_product();
} else {
return true;
}
}
)
);
$assigned_colors = $this->get_event_color_styles( $this->events );
foreach ( $this->events as $index => $event ) {
$data = $this->get_booking_data( $event );
if ( is_null( $data ) ) {
continue;
}
$attr_data = array();
foreach ( $data as $key => $val ) {
$attr_data[ 'data-booking-' . $key ] = esc_attr( $val );
}
$css_classes = array( 'daily_view_booking' );
if ( $event instanceof WC_Global_Availability ) {
$css_classes[] = 'no_availability';
}
echo wp_kses_post( $this->render_li_element( $attr_data, $assigned_colors[ $event->get_id() ], $css_classes ) );
}
}
/**
* Add global availability areas to calendar.
*
* @since 1.13.0
*/
public function list_global_availability_for_day() {
$minutes = range( 0, 1439 );
sort( $this->global_availability_minutes );
$minutes_not_available = array_diff( $minutes, $this->global_availability_minutes );
$not_available_ranges = $this->split_minutes_array_into_ranges( $minutes_not_available );
$color_style = array(
'background' => '#bdbdbd2b',
);
$classes = array( 'daily_view_global_availabiltiy' );
foreach ( $not_available_ranges as $range ) {
echo wp_kses_post( $this->render_li_element( $range, $color_style, $classes ) );
}
}
/**
* Build <li> element for rendering a bookings block.
*
* @param array $data Bookings data
* @param array $color Color data for the event
*
* @return string
*/
protected function render_li_element( $data, $color_style, $classes = array() ) {
$li_attrs = array(
'style' => $color_style,
);
$li_attrs = array_merge( $data, $li_attrs );
$element = '<li ';
$element .= 'class=" ' . implode( ' ', $classes ) . '" ';
foreach ( $li_attrs as $attribute => $value ) {
if ( is_array( $value ) ) {
$attrs = '';
foreach ( $value as $attr_key => $attr_val ) {
$attrs .= "{$attr_key}: {$attr_val};";
}
$value = $attrs;
}
$element .= "{$attribute}=\"{$value}\" ";
}
$element .= '><div class="wc-bookings-calendar-popover-container"></div></li>';
return $element;
}
/**
* From a list of minutes it creates ranges of consecutive minutes blocks
*
* @param array $minutes array of minutes
*
* @return array $array of time ranges.
*
* @since 1.13.0
*/
private function split_minutes_array_into_ranges( $minutes ) {
$times_ranges = array();
sort( $minutes );
$size = count( $minutes );
$id = 1;
for ( $i = 0; $i < $size; $i++ ) {
$range_start = $minutes[ $i ];
$range_end = $range_start;
$j = $i + 1;
if ( $j < $size ) {
for ( ; $j < $size; $j++ ) {
if ( $minutes[ $j - 1 ] === $minutes[ $j ] - 1 ) {
$range_end = $minutes[$j];
} else {
break;
}
}
$i = $j - 1;
}
$times_ranges[] = array(
'data-start' => $range_start,
'data-end' => $range_end,
'data-global-availability-id' => $id,
);
$id ++;
}
return $times_ranges;
}
/**
* Get Bookings data to be included in the html element on the calendar.
*
* @param WC_Booking $booking
* @param integer $check_date Timestamp during day to be checked. Defaults to $_REQUEST['calendar_day'] or current day.
* @return array|null
*/
protected function get_booking_data( $event, $check_date = null ) {
if ( is_null( $check_date ) ) {
$day = strtotime( isset( $_REQUEST['calendar_day'] ) ? wc_clean( $_REQUEST['calendar_day'] ) : date( 'Y-m-d' ) );
} else {
$day = $check_date;
}
$startday = strtotime( 'midnight', $day );
$endday = strtotime( 'tomorrow', $day );
$booking_customer = '';
$booking_id = is_callable( array( $event, 'get_id' ) ) ? $event->get_id() : '';
$booking_resource = '';
$booking_persons = array();
$event_url = '';
if ( 'WC_Booking' === get_class( $event ) ) {
$booking = $event;
$product = $booking->get_product();
$booking_customer = $booking->get_customer()->name ?: '';
$booking_resource = $booking->get_resource();
$booking_resource = $booking_resource ? $booking_resource->get_name() : '';
$event_start = $booking->get_start();
$event_end = $booking->get_end();
$event_title = $product ? $product->get_name() : '';
$event_url = admin_url( 'post.php?post=' . $booking->get_id() . '&action=edit' );
$booking_id = $booking->get_id();
if ( $booking->has_persons() ) {
foreach ( $booking->get_persons() as $id => $qty ) {
if ( 0 === $qty ) {
continue;
}
$person_type = ( 0 < $id ) ? get_the_title( $id ) : __( 'Person(s)', 'woocommerce-bookings' );
/* translators: 1: person type 2: quantity */
$booking_persons[] = sprintf( __( '%1$s: %2$d', 'woocommerce-bookings' ), $person_type, $qty );
}
}
if ( $product && in_array( $product->get_duration_unit(), array( 'hour', 'minute' ), true ) ) {
/* translators: 1: start time 2: end time */
$short_start_time = $this->get_short_time( $booking->get_start() );
$short_end_time = $this->get_short_time( $booking->get_end() );
$event_time = $booking->is_all_day() ? __( 'All Day', 'woocommerce-bookings' ) : sprintf( __( '%1$s — %2$s', 'woocommerce-bookings' ), $short_start_time, $short_end_time );
$event_date = $booking->get_start_date( 'l, M j, Y', '' );
} else {
$event_time = $booking->get_end_date( 'l, M j, Y' );
$event_date = $booking->get_start_date( 'l, M j, Y' );
// If the start date is same as the end date, then this is all day for that particular date
if ( $event_time == $event_date ) {
$event_time = __( 'All Day', 'woocommerce-bookings' );
}
}
} else {
$availability = $event;
$range = $availability->get_time_range_for_date( $day );
if ( is_null( $range ) ) {
return null;
}
$event_start = $range['start'];
$event_end = $range['end'];
$short_start_time = $this->get_short_time( $event_start );
$short_end_time = $this->get_short_time( $event_end );
/* translators: 1: start time 2: end time */
$event_time = sprintf( __( '%1$s — %2$s', 'woocommerce-bookings' ), $short_start_time, $short_end_time );
$event_date = $availability->get_formatted_date( $event_start, 'l, M j, Y' );
// If the start date is same as the end date, then this is all day for that particular date
if ( ( $event_start === $event_end ) || $availability->is_all_day() ) {
$event_time = __( 'All Day', 'woocommerce-bookings' );
}
$event_title = ! empty( $availability->get_title() ) ? $availability->get_title() : __( 'Unavailable', 'woocommerce_bookings' );
$event_title .= ' ' . __( '(From Google Calendar)', 'woocommerce-bookings' );
}
$booking_persons = ! empty( $booking_persons ) ? implode( ', ', $booking_persons ) : '';
$start = strtotime( date( 'H:i', $event_start ), 0 ) / 60;
if ( $event_start < $startday ) {
$start = 0;
}
$end = strtotime( date( 'H:i', $event_end ), 0 ) / 60;
if ( $endday < $event_end ) {
$end = 1440;
}
$end = $end ?: 1440;
return array(
'customer' => $booking_customer,
'resource' => $booking_resource,
'persons' => $booking_persons,
'time' => $event_time,
'date' => $event_date,
'title' => $event_title,
'url' => $event_url,
'id' => $booking_id,
'start' => $start,
'end' => $end,
);
}
/**
* Get formatted time from timestamp with shortened time format.
* Shortened format removes minutes when time is on the hour and removes
* space between time and AM/PM.
*
* @param int $timestamp Timestamp to format.
* @return string
*
* @since 1.15.0
*/
protected function get_short_time( $timestamp ) {
$time_format = wc_bookings_time_format();
// Remove spaces so AM/PM will be directly next to time.
$time_format = str_replace( ' ', '', $time_format );
// Hide minutes if on the hour.
if ( '00' === date( 'i', $timestamp ) ) {
// Remove minutes from time format.
$time_format = str_replace( ':i', '', $time_format );
}
return date( $time_format, $timestamp );
}
/**
* Get a random colour.
*/
public function random_color() {
return sprintf( '#%06X', mt_rand( 0, 0xFFFFFF ) );
}
/**
* Get a tooltip in day view.
*
* @param object $booking
* @return string
*/
public function get_tip( $booking ) {
_deprecated_function( __METHOD__, '1.13' );
$return = '';
$return .= '#' . $booking->get_id() . ' - ';
$product = $booking->get_product();
if ( $product ) {
$return .= $product->get_title();
}
$customer = $booking->get_customer();
if ( $customer && ! empty( $customer->name ) ) {
$return .= '<br/>' . __( 'Booked by', 'woocommerce-bookings' ) . ' ' . $customer->name;
}
$resource = $booking->get_resource();
if ( $resource ) {
$return .= '<br/>' . __( 'Resource #', 'woocommerce-bookings' ) . $resource->ID . ' - ' . $resource->post_title;
}
$persons = $booking->get_persons();
foreach ( $persons as $person_id => $person_count ) {
$return .= '<br/>';
/* translators: 1: person id 2: person name 3: person count */
$return .= sprintf( __( 'Person #%1$s - %2$s (%3$s)', 'woocommerce-bookings' ), $person_id, get_the_title( $person_id ), $person_count );
}
return esc_attr( $return );
}
/**
* Filters products for narrowing search.
*
* @param bool $include_resources If true, each product's resources will be included.
* @return array list of bookable products.
*/
public function product_filters( $include_resources = true ) {
$filters = array();
$products = WC_Bookings_Admin::get_booking_products();
foreach ( $products as $product ) {
$filters[ $product->get_id() ] = $product->get_name();
if ( $include_resources ) {
$resources = $product->get_resources();
foreach ( $resources as $resource ) {
$filters[ $resource->get_id() ] = '&nbsp;&nbsp;&nbsp;' . $resource->get_name();
}
}
}
return $filters;
}
/**
* Filters resources for narrowing search.
*/
public function resources_filters() {
$filters = array();
$resources = WC_Bookings_Admin::get_booking_resources();
foreach ( $resources as $resource ) {
$filters[ $resource->get_id() ] = $resource->get_name();
}
return $filters;
}
}
var_dump($events) when wooCommerce calls it:
C:\wp-content\plugins\woocommerce-bookings\includes\admin\class-wc-bookings-calendar.php:172:
array (size=10)
0 =>
object(WC_Booking)[3832]
protected 'data' =>
array (size=16)
'all_day' => boolean false
'cost' => string '59.99' (length=5)
'customer_id' => int 5
'date_created' => int 1643195852
'date_modified' => int 1643900456
'end' => int 1643900400
'google_calendar_event_id' => string '0' (length=1)
'order_id' => int 9119
'order_item_id' => int 87
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 8466
'resource_id' => int 0
'start' => int 1643889600
'status' => string 'complete' (length=8)
'local_timezone' => string '' (length=0)
protected 'cache_group' => string 'booking' (length=7)
protected 'data_store_name' => string 'booking' (length=7)
protected 'object_type' => string 'booking' (length=7)
protected 'status_transitioned' => boolean false
protected 'start_cached' => null
protected 'end_cached' => null
protected 'id' => int 9118
protected 'changes' =>
array (size=0)
empty
protected 'object_read' => boolean true
protected 'extra_data' =>
array (size=0)
empty
protected 'default_data' =>
array (size=16)
'all_day' => boolean false
'cost' => int 0
'customer_id' => int 0
'date_created' => string '' (length=0)
'date_modified' => string '' (length=0)
'end' => string '' (length=0)
'google_calendar_event_id' => int 0
'order_id' => int 0
'order_item_id' => int 0
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 0
'resource_id' => int 0
'start' => string '' (length=0)
'status' => string 'unpaid' (length=6)
'local_timezone' => string '' (length=0)
protected 'data_store' =>
object(WC_Data_Store)[3829]
private 'instance' =>
object(WC_Booking_Data_Store)[3835]
...
private 'stores' =>
array (size=43)
...
private 'current_class_name' => string 'WC_Booking_Data_Store' (length=21)
private 'object_type' => string 'booking' (length=7)
protected 'meta_data' => null
1 =>
object(WC_Booking)[3891]
protected 'data' =>
array (size=16)
'all_day' => boolean false
'cost' => string '59.99' (length=5)
'customer_id' => int 5
'date_created' => int 1643194915
'date_modified' => int 1643900456
'end' => int 1643900400
'google_calendar_event_id' => string '0' (length=1)
'order_id' => int 9115
'order_item_id' => int 84
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 8466
'resource_id' => int 0
'start' => int 1643889600
'status' => string 'complete' (length=8)
'local_timezone' => string '' (length=0)
protected 'cache_group' => string 'booking' (length=7)
protected 'data_store_name' => string 'booking' (length=7)
protected 'object_type' => string 'booking' (length=7)
protected 'status_transitioned' => boolean false
protected 'start_cached' => null
protected 'end_cached' => null
protected 'id' => int 9114
protected 'changes' =>
array (size=0)
empty
protected 'object_read' => boolean true
protected 'extra_data' =>
array (size=0)
empty
protected 'default_data' =>
array (size=16)
'all_day' => boolean false
'cost' => int 0
'customer_id' => int 0
'date_created' => string '' (length=0)
'date_modified' => string '' (length=0)
'end' => string '' (length=0)
'google_calendar_event_id' => int 0
'order_id' => int 0
'order_item_id' => int 0
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 0
'resource_id' => int 0
'start' => string '' (length=0)
'status' => string 'unpaid' (length=6)
'local_timezone' => string '' (length=0)
protected 'data_store' =>
object(WC_Data_Store)[3880]
private 'instance' =>
object(WC_Booking_Data_Store)[3903]
...
private 'stores' =>
array (size=43)
...
private 'current_class_name' => string 'WC_Booking_Data_Store' (length=21)
private 'object_type' => string 'booking' (length=7)
protected 'meta_data' => null
2 =>
object(WC_Booking)[3883]
protected 'data' =>
array (size=16)
'all_day' => boolean false
'cost' => string '59.99' (length=5)
'customer_id' => int 5
'date_created' => int 1643193832
'date_modified' => int 1643952444
'end' => int 1643911200
'google_calendar_event_id' => string '0' (length=1)
'order_id' => int 9113
'order_item_id' => int 82
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 8466
'resource_id' => int 0
'start' => int 1643900400
'status' => string 'complete' (length=8)
'local_timezone' => string '' (length=0)
protected 'cache_group' => string 'booking' (length=7)
protected 'data_store_name' => string 'booking' (length=7)
protected 'object_type' => string 'booking' (length=7)
protected 'status_transitioned' => boolean false
protected 'start_cached' => null
protected 'end_cached' => null
protected 'id' => int 9112
protected 'changes' =>
array (size=0)
empty
protected 'object_read' => boolean true
protected 'extra_data' =>
array (size=0)
empty
protected 'default_data' =>
array (size=16)
'all_day' => boolean false
'cost' => int 0
'customer_id' => int 0
'date_created' => string '' (length=0)
'date_modified' => string '' (length=0)
'end' => string '' (length=0)
'google_calendar_event_id' => int 0
'order_id' => int 0
'order_item_id' => int 0
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 0
'resource_id' => int 0
'start' => string '' (length=0)
'status' => string 'unpaid' (length=6)
'local_timezone' => string '' (length=0)
protected 'data_store' =>
object(WC_Data_Store)[3907]
private 'instance' =>
object(WC_Booking_Data_Store)[3908]
...
private 'stores' =>
array (size=43)
...
private 'current_class_name' => string 'WC_Booking_Data_Store' (length=21)
private 'object_type' => string 'booking' (length=7)
protected 'meta_data' => null
3 =>
object(WC_Booking)[3904]
protected 'data' =>
array (size=16)
'all_day' => boolean false
'cost' => string '59.99' (length=5)
'customer_id' => int 5
'date_created' => int 1643169364
'date_modified' => int 1643952443
'end' => int 1643911200
'google_calendar_event_id' => string '0' (length=1)
'order_id' => int 9110
'order_item_id' => int 81
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 8466
'resource_id' => int 0
'start' => int 1643900400
'status' => string 'complete' (length=8)
'local_timezone' => string '' (length=0)
protected 'cache_group' => string 'booking' (length=7)
protected 'data_store_name' => string 'booking' (length=7)
protected 'object_type' => string 'booking' (length=7)
protected 'status_transitioned' => boolean false
protected 'start_cached' => null
protected 'end_cached' => null
protected 'id' => int 9109
protected 'changes' =>
array (size=0)
empty
protected 'object_read' => boolean true
protected 'extra_data' =>
array (size=0)
empty
protected 'default_data' =>
array (size=16)
'all_day' => boolean false
'cost' => int 0
'customer_id' => int 0
'date_created' => string '' (length=0)
'date_modified' => string '' (length=0)
'end' => string '' (length=0)
'google_calendar_event_id' => int 0
'order_id' => int 0
'order_item_id' => int 0
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 0
'resource_id' => int 0
'start' => string '' (length=0)
'status' => string 'unpaid' (length=6)
'local_timezone' => string '' (length=0)
protected 'data_store' =>
object(WC_Data_Store)[3910]
private 'instance' =>
object(WC_Booking_Data_Store)[3911]
...
private 'stores' =>
array (size=43)
...
private 'current_class_name' => string 'WC_Booking_Data_Store' (length=21)
private 'object_type' => string 'booking' (length=7)
protected 'meta_data' => null
4 =>
object(WC_Booking)[3884]
protected 'data' =>
array (size=16)
'all_day' => boolean false
'cost' => string '59.99' (length=5)
'customer_id' => int 5
'date_created' => int 1643165886
'date_modified' => int 1643900456
'end' => int 1643900400
'google_calendar_event_id' => string '0' (length=1)
'order_id' => int 9106
'order_item_id' => int 78
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 8466
'resource_id' => int 0
'start' => int 1643889600
'status' => string 'complete' (length=8)
'local_timezone' => string '' (length=0)
protected 'cache_group' => string 'booking' (length=7)
protected 'data_store_name' => string 'booking' (length=7)
protected 'object_type' => string 'booking' (length=7)
protected 'status_transitioned' => boolean false
protected 'start_cached' => null
protected 'end_cached' => null
protected 'id' => int 9105
protected 'changes' =>
array (size=0)
empty
protected 'object_read' => boolean true
protected 'extra_data' =>
array (size=0)
empty
protected 'default_data' =>
array (size=16)
'all_day' => boolean false
'cost' => int 0
'customer_id' => int 0
'date_created' => string '' (length=0)
'date_modified' => string '' (length=0)
'end' => string '' (length=0)
'google_calendar_event_id' => int 0
'order_id' => int 0
'order_item_id' => int 0
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 0
'resource_id' => int 0
'start' => string '' (length=0)
'status' => string 'unpaid' (length=6)
'local_timezone' => string '' (length=0)
protected 'data_store' =>
object(WC_Data_Store)[3914]
private 'instance' =>
object(WC_Booking_Data_Store)[3915]
...
private 'stores' =>
array (size=43)
...
private 'current_class_name' => string 'WC_Booking_Data_Store' (length=21)
private 'object_type' => string 'booking' (length=7)
protected 'meta_data' => null
5 =>
object(WC_Booking)[3906]
protected 'data' =>
array (size=16)
'all_day' => boolean false
'cost' => string '50' (length=2)
'customer_id' => int 0
'date_created' => int 1641346746
'date_modified' => int 1641346801
'end' => int 1644238800
'google_calendar_event_id' => string '0' (length=1)
'order_id' => int 8929
'order_item_id' => int 28
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 8813
'resource_id' => int 0
'start' => int 1644224400
'status' => string 'unpaid' (length=6)
'local_timezone' => string '' (length=0)
protected 'cache_group' => string 'booking' (length=7)
protected 'data_store_name' => string 'booking' (length=7)
protected 'object_type' => string 'booking' (length=7)
protected 'status_transitioned' => boolean false
protected 'start_cached' => null
protected 'end_cached' => null
protected 'id' => int 8928
protected 'changes' =>
array (size=0)
empty
protected 'object_read' => boolean true
protected 'extra_data' =>
array (size=0)
empty
protected 'default_data' =>
array (size=16)
'all_day' => boolean false
'cost' => int 0
'customer_id' => int 0
'date_created' => string '' (length=0)
'date_modified' => string '' (length=0)
'end' => string '' (length=0)
'google_calendar_event_id' => int 0
'order_id' => int 0
'order_item_id' => int 0
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 0
'resource_id' => int 0
'start' => string '' (length=0)
'status' => string 'unpaid' (length=6)
'local_timezone' => string '' (length=0)
protected 'data_store' =>
object(WC_Data_Store)[3918]
private 'instance' =>
object(WC_Booking_Data_Store)[3919]
...
private 'stores' =>
array (size=43)
...
private 'current_class_name' => string 'WC_Booking_Data_Store' (length=21)
private 'object_type' => string 'booking' (length=7)
protected 'meta_data' => null
6 =>
object(WC_Booking)[3909]
protected 'data' =>
array (size=16)
'all_day' => boolean false
'cost' => string '50' (length=2)
'customer_id' => int 0
'date_created' => int 1640283957
'date_modified' => int 1640284117
'end' => int 1644253200
'google_calendar_event_id' => string '0' (length=1)
'order_id' => int 8880
'order_item_id' => int 14
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 8813
'resource_id' => int 0
'start' => int 1644238800
'status' => string 'unpaid' (length=6)
'local_timezone' => string '' (length=0)
protected 'cache_group' => string 'booking' (length=7)
protected 'data_store_name' => string 'booking' (length=7)
protected 'object_type' => string 'booking' (length=7)
protected 'status_transitioned' => boolean false
protected 'start_cached' => null
protected 'end_cached' => null
protected 'id' => int 8879
protected 'changes' =>
array (size=0)
empty
protected 'object_read' => boolean true
protected 'extra_data' =>
array (size=0)
empty
protected 'default_data' =>
array (size=16)
'all_day' => boolean false
'cost' => int 0
'customer_id' => int 0
'date_created' => string '' (length=0)
'date_modified' => string '' (length=0)
'end' => string '' (length=0)
'google_calendar_event_id' => int 0
'order_id' => int 0
'order_item_id' => int 0
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 0
'resource_id' => int 0
'start' => string '' (length=0)
'status' => string 'unpaid' (length=6)
'local_timezone' => string '' (length=0)
protected 'data_store' =>
object(WC_Data_Store)[3923]
private 'instance' =>
object(WC_Booking_Data_Store)[3924]
...
private 'stores' =>
array (size=43)
...
private 'current_class_name' => string 'WC_Booking_Data_Store' (length=21)
private 'object_type' => string 'booking' (length=7)
protected 'meta_data' => null
7 =>
object(WC_Booking)[3920]
protected 'data' =>
array (size=16)
'all_day' => boolean false
'cost' => string '50' (length=2)
'customer_id' => int 0
'date_created' => int 1640107318
'date_modified' => int 1640107502
'end' => int 1644238800
'google_calendar_event_id' => string '0' (length=1)
'order_id' => int 8875
'order_item_id' => int 12
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 8813
'resource_id' => int 0
'start' => int 1644224400
'status' => string 'unpaid' (length=6)
'local_timezone' => string '' (length=0)
protected 'cache_group' => string 'booking' (length=7)
protected 'data_store_name' => string 'booking' (length=7)
protected 'object_type' => string 'booking' (length=7)
protected 'status_transitioned' => boolean false
protected 'start_cached' => null
protected 'end_cached' => null
protected 'id' => int 8874
protected 'changes' =>
array (size=0)
empty
protected 'object_read' => boolean true
protected 'extra_data' =>
array (size=0)
empty
protected 'default_data' =>
array (size=16)
'all_day' => boolean false
'cost' => int 0
'customer_id' => int 0
'date_created' => string '' (length=0)
'date_modified' => string '' (length=0)
'end' => string '' (length=0)
'google_calendar_event_id' => int 0
'order_id' => int 0
'order_item_id' => int 0
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 0
'resource_id' => int 0
'start' => string '' (length=0)
'status' => string 'unpaid' (length=6)
'local_timezone' => string '' (length=0)
protected 'data_store' =>
object(WC_Data_Store)[3927]
private 'instance' =>
object(WC_Booking_Data_Store)[3928]
...
private 'stores' =>
array (size=43)
...
private 'current_class_name' => string 'WC_Booking_Data_Store' (length=21)
private 'object_type' => string 'booking' (length=7)
protected 'meta_data' => null
8 =>
object(WC_Booking)[3917]
protected 'data' =>
array (size=16)
'all_day' => boolean false
'cost' => string '50' (length=2)
'customer_id' => int 0
'date_created' => int 1639622014
'date_modified' => int 1639622155
'end' => int 1644238800
'google_calendar_event_id' => string '0' (length=1)
'order_id' => int 8860
'order_item_id' => int 9
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 8813
'resource_id' => int 0
'start' => int 1644224400
'status' => string 'paid' (length=4)
'local_timezone' => string '' (length=0)
protected 'cache_group' => string 'booking' (length=7)
protected 'data_store_name' => string 'booking' (length=7)
protected 'object_type' => string 'booking' (length=7)
protected 'status_transitioned' => boolean false
protected 'start_cached' => null
protected 'end_cached' => null
protected 'id' => int 8859
protected 'changes' =>
array (size=0)
empty
protected 'object_read' => boolean true
protected 'extra_data' =>
array (size=0)
empty
protected 'default_data' =>
array (size=16)
'all_day' => boolean false
'cost' => int 0
'customer_id' => int 0
'date_created' => string '' (length=0)
'date_modified' => string '' (length=0)
'end' => string '' (length=0)
'google_calendar_event_id' => int 0
'order_id' => int 0
'order_item_id' => int 0
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 0
'resource_id' => int 0
'start' => string '' (length=0)
'status' => string 'unpaid' (length=6)
'local_timezone' => string '' (length=0)
protected 'data_store' =>
object(WC_Data_Store)[3931]
private 'instance' =>
object(WC_Booking_Data_Store)[3932]
...
private 'stores' =>
array (size=43)
...
private 'current_class_name' => string 'WC_Booking_Data_Store' (length=21)
private 'object_type' => string 'booking' (length=7)
protected 'meta_data' => null
9 =>
object(WC_Booking)[3922]
protected 'data' =>
array (size=16)
'all_day' => boolean false
'cost' => string '59.99' (length=5)
'customer_id' => int 0
'date_created' => int 1639526460
'date_modified' => int 1639774241
'end' => int 1644235200
'google_calendar_event_id' => string '0' (length=1)
'order_id' => int 8846
'order_item_id' => int 6
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 8813
'resource_id' => int 0
'start' => int 1644224400
'status' => string 'paid' (length=4)
'local_timezone' => string '' (length=0)
protected 'cache_group' => string 'booking' (length=7)
protected 'data_store_name' => string 'booking' (length=7)
protected 'object_type' => string 'booking' (length=7)
protected 'status_transitioned' => boolean false
protected 'start_cached' => null
protected 'end_cached' => null
protected 'id' => int 8845
protected 'changes' =>
array (size=0)
empty
protected 'object_read' => boolean true
protected 'extra_data' =>
array (size=0)
empty
protected 'default_data' =>
array (size=16)
'all_day' => boolean false
'cost' => int 0
'customer_id' => int 0
'date_created' => string '' (length=0)
'date_modified' => string '' (length=0)
'end' => string '' (length=0)
'google_calendar_event_id' => int 0
'order_id' => int 0
'order_item_id' => int 0
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 0
'resource_id' => int 0
'start' => string '' (length=0)
'status' => string 'unpaid' (length=6)
'local_timezone' => string '' (length=0)
protected 'data_store' =>
object(WC_Data_Store)[3934]
private 'instance' =>
object(WC_Booking_Data_Store)[3935]
...
private 'stores' =>
array (size=43)
...
private 'current_class_name' => string 'WC_Booking_Data_Store' (length=21)
private 'object_type' => string 'booking' (length=7)
protected 'meta_data' => null
================================================================================================================
var_dump($events) when I call it:
C:\wp-content\plugins\woocommerce-order-manager-assign\WooOMA\partials\course-manager-admin-display.php:172:
array (size=73)
0 =>
object(WC_Booking)[3828]
protected 'data' =>
array (size=16)
'all_day' => boolean false
'cost' => string '59.99' (length=5)
'customer_id' => int 5
'date_created' => int 1643195852
'date_modified' => int 1643900456
'end' => int 1643900400
'google_calendar_event_id' => string '0' (length=1)
'order_id' => int 9119
'order_item_id' => int 87
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 8466
'resource_id' => int 0
'start' => int 1643889600
'status' => string 'complete' (length=8)
'local_timezone' => string '' (length=0)
protected 'cache_group' => string 'booking' (length=7)
protected 'data_store_name' => string 'booking' (length=7)
protected 'object_type' => string 'booking' (length=7)
protected 'status_transitioned' => boolean false
protected 'start_cached' => null
protected 'end_cached' => null
protected 'id' => int 9118
protected 'changes' =>
array (size=0)
empty
protected 'object_read' => boolean true
protected 'extra_data' =>
array (size=0)
empty
protected 'default_data' =>
array (size=16)
'all_day' => boolean false
'cost' => int 0
'customer_id' => int 0
'date_created' => string '' (length=0)
'date_modified' => string '' (length=0)
'end' => string '' (length=0)
'google_calendar_event_id' => int 0
'order_id' => int 0
'order_item_id' => int 0
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 0
'resource_id' => int 0
'start' => string '' (length=0)
'status' => string 'unpaid' (length=6)
'local_timezone' => string '' (length=0)
protected 'data_store' =>
object(WC_Data_Store)[3884]
private 'instance' =>
object(WC_Booking_Data_Store)[3824]
...
private 'stores' =>
array (size=43)
...
private 'current_class_name' => string 'WC_Booking_Data_Store' (length=21)
private 'object_type' => string 'booking' (length=7)
protected 'meta_data' => null
1 =>
object(WC_Booking)[3883]
protected 'data' =>
array (size=16)
'all_day' => boolean false
'cost' => string '59.99' (length=5)
'customer_id' => int 5
'date_created' => int 1643195409
'date_modified' => int 1643451045
'end' => int 1643292000
'google_calendar_event_id' => string '0' (length=1)
'order_id' => int 9117
'order_item_id' => int 86
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 8506
'resource_id' => int 0
'start' => int 1643288400
'status' => string 'complete' (length=8)
'local_timezone' => string '' (length=0)
protected 'cache_group' => string 'booking' (length=7)
protected 'data_store_name' => string 'booking' (length=7)
protected 'object_type' => string 'booking' (length=7)
protected 'status_transitioned' => boolean false
protected 'start_cached' => null
protected 'end_cached' => null
protected 'id' => int 9116
protected 'changes' =>
array (size=0)
empty
protected 'object_read' => boolean true
protected 'extra_data' =>
array (size=0)
empty
protected 'default_data' =>
array (size=16)
'all_day' => boolean false
'cost' => int 0
'customer_id' => int 0
'date_created' => string '' (length=0)
'date_modified' => string '' (length=0)
'end' => string '' (length=0)
'google_calendar_event_id' => int 0
'order_id' => int 0
'order_item_id' => int 0
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 0
'resource_id' => int 0
'start' => string '' (length=0)
'status' => string 'unpaid' (length=6)
'local_timezone' => string '' (length=0)
protected 'data_store' =>
object(WC_Data_Store)[4008]
private 'instance' =>
object(WC_Booking_Data_Store)[3984]
...
private 'stores' =>
array (size=43)
...
private 'current_class_name' => string 'WC_Booking_Data_Store' (length=21)
private 'object_type' => string 'booking' (length=7)
protected 'meta_data' => null
2 =>
object(WC_Booking)[3964]
protected 'data' =>
array (size=16)
'all_day' => boolean false
'cost' => string '59.99' (length=5)
'customer_id' => int 5
'date_created' => int 1643194915
'date_modified' => int 1643900456
'end' => int 1643900400
'google_calendar_event_id' => string '0' (length=1)
'order_id' => int 9115
'order_item_id' => int 84
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 8466
'resource_id' => int 0
'start' => int 1643889600
'status' => string 'complete' (length=8)
'local_timezone' => string '' (length=0)
protected 'cache_group' => string 'booking' (length=7)
protected 'data_store_name' => string 'booking' (length=7)
protected 'object_type' => string 'booking' (length=7)
protected 'status_transitioned' => boolean false
protected 'start_cached' => null
protected 'end_cached' => null
protected 'id' => int 9114
protected 'changes' =>
array (size=0)
empty
protected 'object_read' => boolean true
protected 'extra_data' =>
array (size=0)
empty
protected 'default_data' =>
array (size=16)
'all_day' => boolean false
'cost' => int 0
'customer_id' => int 0
'date_created' => string '' (length=0)
'date_modified' => string '' (length=0)
'end' => string '' (length=0)
'google_calendar_event_id' => int 0
'order_id' => int 0
'order_item_id' => int 0
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 0
'resource_id' => int 0
'start' => string '' (length=0)
'status' => string 'unpaid' (length=6)
'local_timezone' => string '' (length=0)
protected 'data_store' =>
object(WC_Data_Store)[3979]
private 'instance' =>
object(WC_Booking_Data_Store)[3951]
...
private 'stores' =>
array (size=43)
...
private 'current_class_name' => string 'WC_Booking_Data_Store' (length=21)
private 'object_type' => string 'booking' (length=7)
protected 'meta_data' => null
3 =>
object(WC_Booking)[3974]
protected 'data' =>
array (size=16)
'all_day' => boolean false
'cost' => string '59.99' (length=5)
'customer_id' => int 5
'date_created' => int 1643193832
'date_modified' => int 1643952444
'end' => int 1643911200
'google_calendar_event_id' => string '0' (length=1)
'order_id' => int 9113
'order_item_id' => int 82
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 8466
'resource_id' => int 0
'start' => int 1643900400
'status' => string 'complete' (length=8)
'local_timezone' => string '' (length=0)
protected 'cache_group' => string 'booking' (length=7)
protected 'data_store_name' => string 'booking' (length=7)
protected 'object_type' => string 'booking' (length=7)
protected 'status_transitioned' => boolean false
protected 'start_cached' => null
protected 'end_cached' => null
protected 'id' => int 9112
protected 'changes' =>
array (size=0)
empty
protected 'object_read' => boolean true
protected 'extra_data' =>
array (size=0)
empty
protected 'default_data' =>
array (size=16)
'all_day' => boolean false
'cost' => int 0
'customer_id' => int 0
'date_created' => string '' (length=0)
'date_modified' => string '' (length=0)
'end' => string '' (length=0)
'google_calendar_event_id' => int 0
'order_id' => int 0
'order_item_id' => int 0
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 0
'resource_id' => int 0
'start' => string '' (length=0)
'status' => string 'unpaid' (length=6)
'local_timezone' => string '' (length=0)
protected 'data_store' =>
object(WC_Data_Store)[3969]
private 'instance' =>
object(WC_Booking_Data_Store)[3977]
...
private 'stores' =>
array (size=43)
...
private 'current_class_name' => string 'WC_Booking_Data_Store' (length=21)
private 'object_type' => string 'booking' (length=7)
protected 'meta_data' => null
4 =>
object(WC_Booking)[3944]
protected 'data' =>
array (size=16)
'all_day' => boolean false
'cost' => string '59.99' (length=5)
'customer_id' => int 5
'date_created' => int 1643169364
'date_modified' => int 1643952443
'end' => int 1643911200
'google_calendar_event_id' => string '0' (length=1)
'order_id' => int 9110
'order_item_id' => int 81
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 8466
'resource_id' => int 0
'start' => int 1643900400
'status' => string 'complete' (length=8)
'local_timezone' => string '' (length=0)
protected 'cache_group' => string 'booking' (length=7)
protected 'data_store_name' => string 'booking' (length=7)
protected 'object_type' => string 'booking' (length=7)
protected 'status_transitioned' => boolean false
protected 'start_cached' => null
protected 'end_cached' => null
protected 'id' => int 9109
protected 'changes' =>
array (size=0)
empty
protected 'object_read' => boolean true
protected 'extra_data' =>
array (size=0)
empty
protected 'default_data' =>
array (size=16)
'all_day' => boolean false
'cost' => int 0
'customer_id' => int 0
'date_created' => string '' (length=0)
'date_modified' => string '' (length=0)
'end' => string '' (length=0)
'google_calendar_event_id' => int 0
'order_id' => int 0
'order_item_id' => int 0
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 0
'resource_id' => int 0
'start' => string '' (length=0)
'status' => string 'unpaid' (length=6)
'local_timezone' => string '' (length=0)
protected 'data_store' =>
object(WC_Data_Store)[3937]
private 'instance' =>
object(WC_Booking_Data_Store)[4001]
...
private 'stores' =>
array (size=43)
...
private 'current_class_name' => string 'WC_Booking_Data_Store' (length=21)
private 'object_type' => string 'booking' (length=7)
protected 'meta_data' => null
5 =>
object(WC_Booking)[3887]
protected 'data' =>
array (size=16)
'all_day' => boolean false
'cost' => string '59.99' (length=5)
'customer_id' => int 5
'date_created' => int 1643169270
'date_modified' => int 1643451045
'end' => int 1643295600
'google_calendar_event_id' => string '0' (length=1)
'order_id' => int 9108
'order_item_id' => int 80
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 8466
'resource_id' => int 0
'start' => int 1643284800
'status' => string 'complete' (length=8)
'local_timezone' => string '' (length=0)
protected 'cache_group' => string 'booking' (length=7)
protected 'data_store_name' => string 'booking' (length=7)
protected 'object_type' => string 'booking' (length=7)
protected 'status_transitioned' => boolean false
protected 'start_cached' => null
protected 'end_cached' => null
protected 'id' => int 9107
protected 'changes' =>
array (size=0)
empty
protected 'object_read' => boolean true
protected 'extra_data' =>
array (size=0)
empty
protected 'default_data' =>
array (size=16)
'all_day' => boolean false
'cost' => int 0
'customer_id' => int 0
'date_created' => string '' (length=0)
'date_modified' => string '' (length=0)
'end' => string '' (length=0)
'google_calendar_event_id' => int 0
'order_id' => int 0
'order_item_id' => int 0
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 0
'resource_id' => int 0
'start' => string '' (length=0)
'status' => string 'unpaid' (length=6)
'local_timezone' => string '' (length=0)
protected 'data_store' =>
object(WC_Data_Store)[4004]
private 'instance' =>
object(WC_Booking_Data_Store)[3991]
...
private 'stores' =>
array (size=43)
...
private 'current_class_name' => string 'WC_Booking_Data_Store' (length=21)
private 'object_type' => string 'booking' (length=7)
protected 'meta_data' => null
6 =>
object(WC_Booking)[3987]
protected 'data' =>
array (size=16)
'all_day' => boolean false
'cost' => string '59.99' (length=5)
'customer_id' => int 5
'date_created' => int 1643165886
'date_modified' => int 1643900456
'end' => int 1643900400
'google_calendar_event_id' => string '0' (length=1)
'order_id' => int 9106
'order_item_id' => int 78
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 8466
'resource_id' => int 0
'start' => int 1643889600
'status' => string 'complete' (length=8)
'local_timezone' => string '' (length=0)
protected 'cache_group' => string 'booking' (length=7)
protected 'data_store_name' => string 'booking' (length=7)
protected 'object_type' => string 'booking' (length=7)
protected 'status_transitioned' => boolean false
protected 'start_cached' => null
protected 'end_cached' => null
protected 'id' => int 9105
protected 'changes' =>
array (size=0)
empty
protected 'object_read' => boolean true
protected 'extra_data' =>
array (size=0)
empty
protected 'default_data' =>
array (size=16)
'all_day' => boolean false
'cost' => int 0
'customer_id' => int 0
'date_created' => string '' (length=0)
'date_modified' => string '' (length=0)
'end' => string '' (length=0)
'google_calendar_event_id' => int 0
'order_id' => int 0
'order_item_id' => int 0
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 0
'resource_id' => int 0
'start' => string '' (length=0)
'status' => string 'unpaid' (length=6)
'local_timezone' => string '' (length=0)
protected 'data_store' =>
object(WC_Data_Store)[3933]
private 'instance' =>
object(WC_Booking_Data_Store)[3932]
...
private 'stores' =>
array (size=43)
...
private 'current_class_name' => string 'WC_Booking_Data_Store' (length=21)
private 'object_type' => string 'booking' (length=7)
protected 'meta_data' => null
7 =>
object(WC_Booking)[3992]
protected 'data' =>
array (size=16)
'all_day' => boolean false
'cost' => string '59.99' (length=5)
'customer_id' => int 5
'date_created' => int 1643165155
'date_modified' => int 1643451046
'end' => int 1643302800
'google_calendar_event_id' => string '0' (length=1)
'order_id' => int 9104
'order_item_id' => int 77
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 8506
'resource_id' => int 0
'start' => int 1643299200
'status' => string 'complete' (length=8)
'local_timezone' => string '' (length=0)
protected 'cache_group' => string 'booking' (length=7)
protected 'data_store_name' => string 'booking' (length=7)
protected 'object_type' => string 'booking' (length=7)
protected 'status_transitioned' => boolean false
protected 'start_cached' => null
protected 'end_cached' => null
protected 'id' => int 9103
protected 'changes' =>
array (size=0)
empty
protected 'object_read' => boolean true
protected 'extra_data' =>
array (size=0)
empty
protected 'default_data' =>
array (size=16)
'all_day' => boolean false
'cost' => int 0
'customer_id' => int 0
'date_created' => string '' (length=0)
'date_modified' => string '' (length=0)
'end' => string '' (length=0)
'google_calendar_event_id' => int 0
'order_id' => int 0
'order_item_id' => int 0
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 0
'resource_id' => int 0
'start' => string '' (length=0)
'status' => string 'unpaid' (length=6)
'local_timezone' => string '' (length=0)
protected 'data_store' =>
object(WC_Data_Store)[3929]
private 'instance' =>
object(WC_Booking_Data_Store)[3928]
...
private 'stores' =>
array (size=43)
...
private 'current_class_name' => string 'WC_Booking_Data_Store' (length=21)
private 'object_type' => string 'booking' (length=7)
protected 'meta_data' => null
8 =>
object(WC_Booking)[4003]
protected 'data' =>
array (size=16)
'all_day' => boolean false
'cost' => string '59.99' (length=5)
'customer_id' => int 5
'date_created' => int 1643164270
'date_modified' => int 1643451045
'end' => int 1643299200
'google_calendar_event_id' => string '0' (length=1)
'order_id' => int 9102
'order_item_id' => int 76
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 8506
'resource_id' => int 0
'start' => int 1643295600
'status' => string 'complete' (length=8)
'local_timezone' => string '' (length=0)
protected 'cache_group' => string 'booking' (length=7)
protected 'data_store_name' => string 'booking' (length=7)
protected 'object_type' => string 'booking' (length=7)
protected 'status_transitioned' => boolean false
protected 'start_cached' => null
protected 'end_cached' => null
protected 'id' => int 9101
protected 'changes' =>
array (size=0)
empty
protected 'object_read' => boolean true
protected 'extra_data' =>
array (size=0)
empty
protected 'default_data' =>
array (size=16)
'all_day' => boolean false
'cost' => int 0
'customer_id' => int 0
'date_created' => string '' (length=0)
'date_modified' => string '' (length=0)
'end' => string '' (length=0)
'google_calendar_event_id' => int 0
'order_id' => int 0
'order_item_id' => int 0
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 0
'resource_id' => int 0
'start' => string '' (length=0)
'status' => string 'unpaid' (length=6)
'local_timezone' => string '' (length=0)
protected 'data_store' =>
object(WC_Data_Store)[3925]
private 'instance' =>
object(WC_Booking_Data_Store)[3924]
...
private 'stores' =>
array (size=43)
...
private 'current_class_name' => string 'WC_Booking_Data_Store' (length=21)
private 'object_type' => string 'booking' (length=7)
protected 'meta_data' => null
9 =>
object(WC_Booking)[3934]
protected 'data' =>
array (size=16)
'all_day' => boolean false
'cost' => string '59.99' (length=5)
'customer_id' => int 5
'date_created' => int 1643149845
'date_modified' => int 1643451045
'end' => int 1643295600
'google_calendar_event_id' => string '0' (length=1)
'order_id' => int 9100
'order_item_id' => int 74
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 8466
'resource_id' => int 0
'start' => int 1643284800
'status' => string 'complete' (length=8)
'local_timezone' => string '' (length=0)
protected 'cache_group' => string 'booking' (length=7)
protected 'data_store_name' => string 'booking' (length=7)
protected 'object_type' => string 'booking' (length=7)
protected 'status_transitioned' => boolean false
protected 'start_cached' => null
protected 'end_cached' => null
protected 'id' => int 9099
protected 'changes' =>
array (size=0)
empty
protected 'object_read' => boolean true
protected 'extra_data' =>
array (size=0)
empty
protected 'default_data' =>
array (size=16)
'all_day' => boolean false
'cost' => int 0
'customer_id' => int 0
'date_created' => string '' (length=0)
'date_modified' => string '' (length=0)
'end' => string '' (length=0)
'google_calendar_event_id' => int 0
'order_id' => int 0
'order_item_id' => int 0
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 0
'resource_id' => int 0
'start' => string '' (length=0)
'status' => string 'unpaid' (length=6)
'local_timezone' => string '' (length=0)
protected 'data_store' =>
object(WC_Data_Store)[3921]
private 'instance' =>
object(WC_Booking_Data_Store)[3920]
...
private 'stores' =>
array (size=43)
...
private 'current_class_name' => string 'WC_Booking_Data_Store' (length=21)
private 'object_type' => string 'booking' (length=7)
protected 'meta_data' => null
10 =>
object(WC_Booking)[3930]
protected 'data' =>
array (size=16)
'all_day' => boolean false
'cost' => string '59.99' (length=5)
'customer_id' => int 5
'date_created' => int 1643147854
'date_modified' => int 1643451034
'end' => int 1643205600
'google_calendar_event_id' => string '0' (length=1)
'order_id' => int 9098
'order_item_id' => int 73
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 8506
'resource_id' => int 0
'start' => int 1643202000
'status' => string 'complete' (length=8)
'local_timezone' => string '' (length=0)
protected 'cache_group' => string 'booking' (length=7)
protected 'data_store_name' => string 'booking' (length=7)
protected 'object_type' => string 'booking' (length=7)
protected 'status_transitioned' => boolean false
protected 'start_cached' => null
protected 'end_cached' => null
protected 'id' => int 9097
protected 'changes' =>
array (size=0)
empty
protected 'object_read' => boolean true
protected 'extra_data' =>
array (size=0)
empty
protected 'default_data' =>
array (size=16)
'all_day' => boolean false
'cost' => int 0
'customer_id' => int 0
'date_created' => string '' (length=0)
'date_modified' => string '' (length=0)
'end' => string '' (length=0)
'google_calendar_event_id' => int 0
'order_id' => int 0
'order_item_id' => int 0
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 0
'resource_id' => int 0
'start' => string '' (length=0)
'status' => string 'unpaid' (length=6)
'local_timezone' => string '' (length=0)
protected 'data_store' =>
object(WC_Data_Store)[3917]
private 'instance' =>
object(WC_Booking_Data_Store)[3916]
...
private 'stores' =>
array (size=43)
...
private 'current_class_name' => string 'WC_Booking_Data_Store' (length=21)
private 'object_type' => string 'booking' (length=7)
protected 'meta_data' => null
11 =>
object(WC_Booking)[3926]
protected 'data' =>
array (size=16)
'all_day' => boolean false
'cost' => string '59.99' (length=5)
'customer_id' => int 0
'date_created' => int 1642817123
'date_modified' => int 1643451046
'end' => int 1643382000
'google_calendar_event_id' => string '0' (length=1)
'order_id' => int 9058
'order_item_id' => int 72
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 8466
'resource_id' => int 0
'start' => int 1643371200
'status' => string 'complete' (length=8)
'local_timezone' => string '' (length=0)
protected 'cache_group' => string 'booking' (length=7)
protected 'data_store_name' => string 'booking' (length=7)
protected 'object_type' => string 'booking' (length=7)
protected 'status_transitioned' => boolean false
protected 'start_cached' => null
protected 'end_cached' => null
protected 'id' => int 9056
protected 'changes' =>
array (size=0)
empty
protected 'object_read' => boolean true
protected 'extra_data' =>
array (size=0)
empty
protected 'default_data' =>
array (size=16)
'all_day' => boolean false
'cost' => int 0
'customer_id' => int 0
'date_created' => string '' (length=0)
'date_modified' => string '' (length=0)
'end' => string '' (length=0)
'google_calendar_event_id' => int 0
'order_id' => int 0
'order_item_id' => int 0
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 0
'resource_id' => int 0
'start' => string '' (length=0)
'status' => string 'unpaid' (length=6)
'local_timezone' => string '' (length=0)
protected 'data_store' =>
object(WC_Data_Store)[3913]
private 'instance' =>
object(WC_Booking_Data_Store)[3912]
...
private 'stores' =>
array (size=43)
...
private 'current_class_name' => string 'WC_Booking_Data_Store' (length=21)
private 'object_type' => string 'booking' (length=7)
protected 'meta_data' => null
12 =>
object(WC_Booking)[3922]
protected 'data' =>
array (size=16)
'all_day' => boolean false
'cost' => string '50' (length=2)
'customer_id' => int 0
'date_created' => int 1642606735
'date_modified' => int 1642607027
'end' => int 1643043600
'google_calendar_event_id' => string '0' (length=1)
'order_id' => int 9046
'order_item_id' => int 71
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 8812
'resource_id' => int 0
'start' => int 1643029200
'status' => string 'unpaid' (length=6)
'local_timezone' => string '' (length=0)
protected 'cache_group' => string 'booking' (length=7)
protected 'data_store_name' => string 'booking' (length=7)
protected 'object_type' => string 'booking' (length=7)
protected 'status_transitioned' => boolean false
protected 'start_cached' => null
protected 'end_cached' => null
protected 'id' => int 9045
protected 'changes' =>
array (size=0)
empty
protected 'object_read' => boolean true
protected 'extra_data' =>
array (size=0)
empty
protected 'default_data' =>
array (size=16)
'all_day' => boolean false
'cost' => int 0
'customer_id' => int 0
'date_created' => string '' (length=0)
'date_modified' => string '' (length=0)
'end' => string '' (length=0)
'google_calendar_event_id' => int 0
'order_id' => int 0
'order_item_id' => int 0
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 0
'resource_id' => int 0
'start' => string '' (length=0)
'status' => string 'unpaid' (length=6)
'local_timezone' => string '' (length=0)
protected 'data_store' =>
object(WC_Data_Store)[3909]
private 'instance' =>
object(WC_Booking_Data_Store)[3908]
...
private 'stores' =>
array (size=43)
...
private 'current_class_name' => string 'WC_Booking_Data_Store' (length=21)
private 'object_type' => string 'booking' (length=7)
protected 'meta_data' => null
13 =>
object(WC_Booking)[3918]
protected 'data' =>
array (size=16)
'all_day' => boolean false
'cost' => string '59.99' (length=5)
'customer_id' => int 0
'date_created' => int 1642541910
'date_modified' => int 1642863927
'end' => int 1642863600
'google_calendar_event_id' => string '0' (length=1)
'order_id' => int 9044
'order_item_id' => int 70
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 8466
'resource_id' => int 0
'start' => int 1642852800
'status' => string 'complete' (length=8)
'local_timezone' => string '' (length=0)
protected 'cache_group' => string 'booking' (length=7)
protected 'data_store_name' => string 'booking' (length=7)
protected 'object_type' => string 'booking' (length=7)
protected 'status_transitioned' => boolean false
protected 'start_cached' => null
protected 'end_cached' => null
protected 'id' => int 9043
protected 'changes' =>
array (size=0)
empty
protected 'object_read' => boolean true
protected 'extra_data' =>
array (size=0)
empty
protected 'default_data' =>
array (size=16)
'all_day' => boolean false
'cost' => int 0
'customer_id' => int 0
'date_created' => string '' (length=0)
'date_modified' => string '' (length=0)
'end' => string '' (length=0)
'google_calendar_event_id' => int 0
'order_id' => int 0
'order_item_id' => int 0
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 0
'resource_id' => int 0
'start' => string '' (length=0)
'status' => string 'unpaid' (length=6)
'local_timezone' => string '' (length=0)
protected 'data_store' =>
object(WC_Data_Store)[3905]
private 'instance' =>
object(WC_Booking_Data_Store)[3904]
...
private 'stores' =>
array (size=43)
...
private 'current_class_name' => string 'WC_Booking_Data_Store' (length=21)
private 'object_type' => string 'booking' (length=7)
protected 'meta_data' => null
14 =>
object(WC_Booking)[3914]
protected 'data' =>
array (size=16)
'all_day' => boolean false
'cost' => string '59.99' (length=5)
'customer_id' => int 0
'date_created' => int 1642541688
'date_modified' => int 1642766817
'end' => int 1642766400
'google_calendar_event_id' => string '0' (length=1)
'order_id' => int 9042
'order_item_id' => int 69
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 8466
'resource_id' => int 0
'start' => int 1642755600
'status' => string 'complete' (length=8)
'local_timezone' => string '' (length=0)
protected 'cache_group' => string 'booking' (length=7)
protected 'data_store_name' => string 'booking' (length=7)
protected 'object_type' => string 'booking' (length=7)
protected 'status_transitioned' => boolean false
protected 'start_cached' => null
protected 'end_cached' => null
protected 'id' => int 9041
protected 'changes' =>
array (size=0)
empty
protected 'object_read' => boolean true
protected 'extra_data' =>
array (size=0)
empty
protected 'default_data' =>
array (size=16)
'all_day' => boolean false
'cost' => int 0
'customer_id' => int 0
'date_created' => string '' (length=0)
'date_modified' => string '' (length=0)
'end' => string '' (length=0)
'google_calendar_event_id' => int 0
'order_id' => int 0
'order_item_id' => int 0
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 0
'resource_id' => int 0
'start' => string '' (length=0)
'status' => string 'unpaid' (length=6)
'local_timezone' => string '' (length=0)
protected 'data_store' =>
object(WC_Data_Store)[3901]
private 'instance' =>
object(WC_Booking_Data_Store)[3900]
...
private 'stores' =>
array (size=43)
...
private 'current_class_name' => string 'WC_Booking_Data_Store' (length=21)
private 'object_type' => string 'booking' (length=7)
protected 'meta_data' => null
15 =>
object(WC_Booking)[3910]
protected 'data' =>
array (size=16)
'all_day' => boolean false
'cost' => string '59.99' (length=5)
'customer_id' => int 0
'date_created' => int 1642541528
'date_modified' => int 1642690812
'end' => int 1642690800
'google_calendar_event_id' => string '0' (length=1)
'order_id' => int 9040
'order_item_id' => int 68
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 8466
'resource_id' => int 0
'start' => int 1642680000
'status' => string 'complete' (length=8)
'local_timezone' => string '' (length=0)
protected 'cache_group' => string 'booking' (length=7)
protected 'data_store_name' => string 'booking' (length=7)
protected 'object_type' => string 'booking' (length=7)
protected 'status_transitioned' => boolean false
protected 'start_cached' => null
protected 'end_cached' => null
protected 'id' => int 9039
protected 'changes' =>
array (size=0)
empty
protected 'object_read' => boolean true
protected 'extra_data' =>
array (size=0)
empty
protected 'default_data' =>
array (size=16)
'all_day' => boolean false
'cost' => int 0
'customer_id' => int 0
'date_created' => string '' (length=0)
'date_modified' => string '' (length=0)
'end' => string '' (length=0)
'google_calendar_event_id' => int 0
'order_id' => int 0
'order_item_id' => int 0
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 0
'resource_id' => int 0
'start' => string '' (length=0)
'status' => string 'unpaid' (length=6)
'local_timezone' => string '' (length=0)
protected 'data_store' =>
object(WC_Data_Store)[3878]
private 'instance' =>
object(WC_Booking_Data_Store)[3879]
...
private 'stores' =>
array (size=43)
...
private 'current_class_name' => string 'WC_Booking_Data_Store' (length=21)
private 'object_type' => string 'booking' (length=7)
protected 'meta_data' => null
16 =>
object(WC_Booking)[3899]
protected 'data' =>
array (size=16)
'all_day' => boolean false
'cost' => string '50' (length=2)
'customer_id' => int 0
'date_created' => int 1642537580
'date_modified' => int 1642537632
'end' => int 1643043600
'google_calendar_event_id' => string '0' (length=1)
'order_id' => int 9038
'order_item_id' => int 67
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 8812
'resource_id' => int 0
'start' => int 1643029200
'status' => string 'unpaid' (length=6)
'local_timezone' => string '' (length=0)
protected 'cache_group' => string 'booking' (length=7)
protected 'data_store_name' => string 'booking' (length=7)
protected 'object_type' => string 'booking' (length=7)
protected 'status_transitioned' => boolean false
protected 'start_cached' => null
protected 'end_cached' => null
protected 'id' => int 9037
protected 'changes' =>
array (size=0)
empty
protected 'object_read' => boolean true
protected 'extra_data' =>
array (size=0)
empty
protected 'default_data' =>
array (size=16)
'all_day' => boolean false
'cost' => int 0
'customer_id' => int 0
'date_created' => string '' (length=0)
'date_modified' => string '' (length=0)
'end' => string '' (length=0)
'google_calendar_event_id' => int 0
'order_id' => int 0
'order_item_id' => int 0
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 0
'resource_id' => int 0
'start' => string '' (length=0)
'status' => string 'unpaid' (length=6)
'local_timezone' => string '' (length=0)
protected 'data_store' =>
object(WC_Data_Store)[3831]
private 'instance' =>
object(WC_Booking_Data_Store)[3886]
...
private 'stores' =>
array (size=43)
...
private 'current_class_name' => string 'WC_Booking_Data_Store' (length=21)
private 'object_type' => string 'booking' (length=7)
protected 'meta_data' => null
17 =>
object(WC_Booking)[3902]
protected 'data' =>
array (size=16)
'all_day' => boolean false
'cost' => string '50' (length=2)
'customer_id' => int 0
'date_created' => int 1642203145
'date_modified' => int 1642203284
'end' => int 1643029200
'google_calendar_event_id' => string '0' (length=1)
'order_id' => int 9033
'order_item_id' => int 66
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 8812
'resource_id' => int 0
'start' => int 1643014800
'status' => string 'unpaid' (length=6)
'local_timezone' => string '' (length=0)
protected 'cache_group' => string 'booking' (length=7)
protected 'data_store_name' => string 'booking' (length=7)
protected 'object_type' => string 'booking' (length=7)
protected 'status_transitioned' => boolean false
protected 'start_cached' => null
protected 'end_cached' => null
protected 'id' => int 9032
protected 'changes' =>
array (size=0)
empty
protected 'object_read' => boolean true
protected 'extra_data' =>
array (size=0)
empty
protected 'default_data' =>
array (size=16)
'all_day' => boolean false
'cost' => int 0
'customer_id' => int 0
'date_created' => string '' (length=0)
'date_modified' => string '' (length=0)
'end' => string '' (length=0)
'google_calendar_event_id' => int 0
'order_id' => int 0
'order_item_id' => int 0
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 0
'resource_id' => int 0
'start' => string '' (length=0)
'status' => string 'unpaid' (length=6)
'local_timezone' => string '' (length=0)
protected 'data_store' =>
object(WC_Data_Store)[3881]
private 'instance' =>
object(WC_Booking_Data_Store)[3956]
...
private 'stores' =>
array (size=43)
...
private 'current_class_name' => string 'WC_Booking_Data_Store' (length=21)
private 'object_type' => string 'booking' (length=7)
protected 'meta_data' => null
18 =>
object(WC_Booking)[3906]
protected 'data' =>
array (size=16)
'all_day' => boolean false
'cost' => string '50' (length=2)
'customer_id' => int 0
'date_created' => int 1642119041
'date_modified' => int 1642119123
'end' => int 1643043600
'google_calendar_event_id' => string '0' (length=1)
'order_id' => int 9028
'order_item_id' => int 64
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 8812
'resource_id' => int 0
'start' => int 1643029200
'status' => string 'unpaid' (length=6)
'local_timezone' => string '' (length=0)
protected 'cache_group' => string 'booking' (length=7)
protected 'data_store_name' => string 'booking' (length=7)
protected 'object_type' => string 'booking' (length=7)
protected 'status_transitioned' => boolean false
protected 'start_cached' => null
protected 'end_cached' => null
protected 'id' => int 9027
protected 'changes' =>
array (size=0)
empty
protected 'object_read' => boolean true
protected 'extra_data' =>
array (size=0)
empty
protected 'default_data' =>
array (size=16)
'all_day' => boolean false
'cost' => int 0
'customer_id' => int 0
'date_created' => string '' (length=0)
'date_modified' => string '' (length=0)
'end' => string '' (length=0)
'google_calendar_event_id' => int 0
'order_id' => int 0
'order_item_id' => int 0
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 0
'resource_id' => int 0
'start' => string '' (length=0)
'status' => string 'unpaid' (length=6)
'local_timezone' => string '' (length=0)
protected 'data_store' =>
object(WC_Data_Store)[4010]
private 'instance' =>
object(WC_Booking_Data_Store)[4011]
...
private 'stores' =>
array (size=43)
...
private 'current_class_name' => string 'WC_Booking_Data_Store' (length=21)
private 'object_type' => string 'booking' (length=7)
protected 'meta_data' => null
19 =>
object(WC_Booking)[3888]
protected 'data' =>
array (size=16)
'all_day' => boolean false
'cost' => string '50' (length=2)
'customer_id' => int 0
'date_created' => int 1642116196
'date_modified' => int 1642116260
'end' => int 1643043600
'google_calendar_event_id' => string '0' (length=1)
'order_id' => int 9025
'order_item_id' => int 63
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 8812
'resource_id' => int 0
'start' => int 1643029200
'status' => string 'unpaid' (length=6)
'local_timezone' => string '' (length=0)
protected 'cache_group' => string 'booking' (length=7)
protected 'data_store_name' => string 'booking' (length=7)
protected 'object_type' => string 'booking' (length=7)
protected 'status_transitioned' => boolean false
protected 'start_cached' => null
protected 'end_cached' => null
protected 'id' => int 9024
protected 'changes' =>
array (size=0)
empty
protected 'object_read' => boolean true
protected 'extra_data' =>
array (size=0)
empty
protected 'default_data' =>
array (size=16)
'all_day' => boolean false
'cost' => int 0
'customer_id' => int 0
'date_created' => string '' (length=0)
'date_modified' => string '' (length=0)
'end' => string '' (length=0)
'google_calendar_event_id' => int 0
'order_id' => int 0
'order_item_id' => int 0
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 0
'resource_id' => int 0
'start' => string '' (length=0)
'status' => string 'unpaid' (length=6)
'local_timezone' => string '' (length=0)
protected 'data_store' =>
object(WC_Data_Store)[4014]
private 'instance' =>
object(WC_Booking_Data_Store)[4015]
...
private 'stores' =>
array (size=43)
...
private 'current_class_name' => string 'WC_Booking_Data_Store' (length=21)
private 'object_type' => string 'booking' (length=7)
protected 'meta_data' => null
20 =>
object(WC_Booking)[3825]
protected 'data' =>
array (size=16)
'all_day' => boolean false
'cost' => string '50' (length=2)
'customer_id' => int 0
'date_created' => int 1642108776
'date_modified' => int 1642108913
'end' => int 1643029200
'google_calendar_event_id' => string '0' (length=1)
'order_id' => int 9016
'order_item_id' => int 56
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 8812
'resource_id' => int 0
'start' => int 1643014800
'status' => string 'unpaid' (length=6)
'local_timezone' => string '' (length=0)
protected 'cache_group' => string 'booking' (length=7)
protected 'data_store_name' => string 'booking' (length=7)
protected 'object_type' => string 'booking' (length=7)
protected 'status_transitioned' => boolean false
protected 'start_cached' => null
protected 'end_cached' => null
protected 'id' => int 9015
protected 'changes' =>
array (size=0)
empty
protected 'object_read' => boolean true
protected 'extra_data' =>
array (size=0)
empty
protected 'default_data' =>
array (size=16)
'all_day' => boolean false
'cost' => int 0
'customer_id' => int 0
'date_created' => string '' (length=0)
'date_modified' => string '' (length=0)
'end' => string '' (length=0)
'google_calendar_event_id' => int 0
'order_id' => int 0
'order_item_id' => int 0
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 0
'resource_id' => int 0
'start' => string '' (length=0)
'status' => string 'unpaid' (length=6)
'local_timezone' => string '' (length=0)
protected 'data_store' =>
object(WC_Data_Store)[4018]
private 'instance' =>
object(WC_Booking_Data_Store)[4019]
...
private 'stores' =>
array (size=43)
...
private 'current_class_name' => string 'WC_Booking_Data_Store' (length=21)
private 'object_type' => string 'booking' (length=7)
protected 'meta_data' => null
21 =>
object(WC_Booking)[4000]
protected 'data' =>
array (size=16)
'all_day' => boolean false
'cost' => string '50' (length=2)
'customer_id' => int 0
'date_created' => int 1642107258
'date_modified' => int 1642107535
'end' => int 1643029200
'google_calendar_event_id' => string '0' (length=1)
'order_id' => int 9013
'order_item_id' => int 55
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 8812
'resource_id' => int 0
'start' => int 1643014800
'status' => string 'unpaid' (length=6)
'local_timezone' => string '' (length=0)
protected 'cache_group' => string 'booking' (length=7)
protected 'data_store_name' => string 'booking' (length=7)
protected 'object_type' => string 'booking' (length=7)
protected 'status_transitioned' => boolean false
protected 'start_cached' => null
protected 'end_cached' => null
protected 'id' => int 9011
protected 'changes' =>
array (size=0)
empty
protected 'object_read' => boolean true
protected 'extra_data' =>
array (size=0)
empty
protected 'default_data' =>
array (size=16)
'all_day' => boolean false
'cost' => int 0
'customer_id' => int 0
'date_created' => string '' (length=0)
'date_modified' => string '' (length=0)
'end' => string '' (length=0)
'google_calendar_event_id' => int 0
'order_id' => int 0
'order_item_id' => int 0
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 0
'resource_id' => int 0
'start' => string '' (length=0)
'status' => string 'unpaid' (length=6)
'local_timezone' => string '' (length=0)
protected 'data_store' =>
object(WC_Data_Store)[4022]
private 'instance' =>
object(WC_Booking_Data_Store)[4023]
...
private 'stores' =>
array (size=43)
...
private 'current_class_name' => string 'WC_Booking_Data_Store' (length=21)
private 'object_type' => string 'booking' (length=7)
protected 'meta_data' => null
22 =>
object(WC_Booking)[4013]
protected 'data' =>
array (size=16)
'all_day' => boolean false
'cost' => string '50' (length=2)
'customer_id' => int 0
'date_created' => int 1642021875
'date_modified' => int 1642022833
'end' => int 1643043600
'google_calendar_event_id' => string '0' (length=1)
'order_id' => int 9004
'order_item_id' => int 53
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 8812
'resource_id' => int 0
'start' => int 1643029200
'status' => string 'unpaid' (length=6)
'local_timezone' => string '' (length=0)
protected 'cache_group' => string 'booking' (length=7)
protected 'data_store_name' => string 'booking' (length=7)
protected 'object_type' => string 'booking' (length=7)
protected 'status_transitioned' => boolean false
protected 'start_cached' => null
protected 'end_cached' => null
protected 'id' => int 9003
protected 'changes' =>
array (size=0)
empty
protected 'object_read' => boolean true
protected 'extra_data' =>
array (size=0)
empty
protected 'default_data' =>
array (size=16)
'all_day' => boolean false
'cost' => int 0
'customer_id' => int 0
'date_created' => string '' (length=0)
'date_modified' => string '' (length=0)
'end' => string '' (length=0)
'google_calendar_event_id' => int 0
'order_id' => int 0
'order_item_id' => int 0
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 0
'resource_id' => int 0
'start' => string '' (length=0)
'status' => string 'unpaid' (length=6)
'local_timezone' => string '' (length=0)
protected 'data_store' =>
object(WC_Data_Store)[4026]
private 'instance' =>
object(WC_Booking_Data_Store)[4027]
...
private 'stores' =>
array (size=43)
...
private 'current_class_name' => string 'WC_Booking_Data_Store' (length=21)
private 'object_type' => string 'booking' (length=7)
protected 'meta_data' => null
23 =>
object(WC_Booking)[4017]
protected 'data' =>
array (size=16)
'all_day' => boolean false
'cost' => string '59.99' (length=5)
'customer_id' => int 0
'date_created' => int 1641853271
'date_modified' => int 1641853369
'end' => int 1643054400
'google_calendar_event_id' => string '0' (length=1)
'order_id' => int 9000
'order_item_id' => int 51
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 8466
'resource_id' => int 0
'start' => int 1643043600
'status' => string 'unpaid' (length=6)
'local_timezone' => string '' (length=0)
protected 'cache_group' => string 'booking' (length=7)
protected 'data_store_name' => string 'booking' (length=7)
protected 'object_type' => string 'booking' (length=7)
protected 'status_transitioned' => boolean false
protected 'start_cached' => null
protected 'end_cached' => null
protected 'id' => int 8999
protected 'changes' =>
array (size=0)
empty
protected 'object_read' => boolean true
protected 'extra_data' =>
array (size=0)
empty
protected 'default_data' =>
array (size=16)
'all_day' => boolean false
'cost' => int 0
'customer_id' => int 0
'date_created' => string '' (length=0)
'date_modified' => string '' (length=0)
'end' => string '' (length=0)
'google_calendar_event_id' => int 0
'order_id' => int 0
'order_item_id' => int 0
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 0
'resource_id' => int 0
'start' => string '' (length=0)
'status' => string 'unpaid' (length=6)
'local_timezone' => string '' (length=0)
protected 'data_store' =>
object(WC_Data_Store)[4030]
private 'instance' =>
object(WC_Booking_Data_Store)[4031]
...
private 'stores' =>
array (size=43)
...
private 'current_class_name' => string 'WC_Booking_Data_Store' (length=21)
private 'object_type' => string 'booking' (length=7)
protected 'meta_data' => null
24 =>
object(WC_Booking)[4021]
protected 'data' =>
array (size=16)
'all_day' => boolean false
'cost' => string '50' (length=2)
'customer_id' => int 0
'date_created' => int 1641852168
'date_modified' => int 1641852287
'end' => int 1643029200
'google_calendar_event_id' => string '0' (length=1)
'order_id' => int 8998
'order_item_id' => int 50
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 8812
'resource_id' => int 0
'start' => int 1643014800
'status' => string 'unpaid' (length=6)
'local_timezone' => string '' (length=0)
protected 'cache_group' => string 'booking' (length=7)
protected 'data_store_name' => string 'booking' (length=7)
protected 'object_type' => string 'booking' (length=7)
protected 'status_transitioned' => boolean false
protected 'start_cached' => null
protected 'end_cached' => null
protected 'id' => int 8997
protected 'changes' =>
array (size=0)
empty
protected 'object_read' => boolean true
protected 'extra_data' =>
array (size=0)
empty
protected 'default_data' =>
array (size=16)
'all_day' => boolean false
'cost' => int 0
'customer_id' => int 0
'date_created' => string '' (length=0)
'date_modified' => string '' (length=0)
'end' => string '' (length=0)
'google_calendar_event_id' => int 0
'order_id' => int 0
'order_item_id' => int 0
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 0
'resource_id' => int 0
'start' => string '' (length=0)
'status' => string 'unpaid' (length=6)
'local_timezone' => string '' (length=0)
protected 'data_store' =>
object(WC_Data_Store)[4034]
private 'instance' =>
object(WC_Booking_Data_Store)[4035]
...
private 'stores' =>
array (size=43)
...
private 'current_class_name' => string 'WC_Booking_Data_Store' (length=21)
private 'object_type' => string 'booking' (length=7)
protected 'meta_data' => null
25 =>
object(WC_Booking)[4025]
protected 'data' =>
array (size=16)
'all_day' => boolean false
'cost' => string '59.99' (length=5)
'customer_id' => int 1
'date_created' => int 1641845586
'date_modified' => int 1642680247
'end' => int 1642680000
'google_calendar_event_id' => string '0' (length=1)
'order_id' => int 8996
'order_item_id' => int 49
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 8466
'resource_id' => int 0
'start' => int 1642669200
'status' => string 'complete' (length=8)
'local_timezone' => string '' (length=0)
protected 'cache_group' => string 'booking' (length=7)
protected 'data_store_name' => string 'booking' (length=7)
protected 'object_type' => string 'booking' (length=7)
protected 'status_transitioned' => boolean false
protected 'start_cached' => null
protected 'end_cached' => null
protected 'id' => int 8995
protected 'changes' =>
array (size=0)
empty
protected 'object_read' => boolean true
protected 'extra_data' =>
array (size=0)
empty
protected 'default_data' =>
array (size=16)
'all_day' => boolean false
'cost' => int 0
'customer_id' => int 0
'date_created' => string '' (length=0)
'date_modified' => string '' (length=0)
'end' => string '' (length=0)
'google_calendar_event_id' => int 0
'order_id' => int 0
'order_item_id' => int 0
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 0
'resource_id' => int 0
'start' => string '' (length=0)
'status' => string 'unpaid' (length=6)
'local_timezone' => string '' (length=0)
protected 'data_store' =>
object(WC_Data_Store)[4038]
private 'instance' =>
object(WC_Booking_Data_Store)[4039]
...
private 'stores' =>
array (size=43)
...
private 'current_class_name' => string 'WC_Booking_Data_Store' (length=21)
private 'object_type' => string 'booking' (length=7)
protected 'meta_data' => null
26 =>
object(WC_Booking)[4029]
protected 'data' =>
array (size=16)
'all_day' => boolean false
'cost' => string '59.99' (length=5)
'customer_id' => int 0
'date_created' => int 1641840327
'date_modified' => int 1641895362
'end' => int 1641895200
'google_calendar_event_id' => string '0' (length=1)
'order_id' => int 8992
'order_item_id' => int 48
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 8506
'resource_id' => int 0
'start' => int 1641891600
'status' => string 'complete' (length=8)
'local_timezone' => string '' (length=0)
protected 'cache_group' => string 'booking' (length=7)
protected 'data_store_name' => string 'booking' (length=7)
protected 'object_type' => string 'booking' (length=7)
protected 'status_transitioned' => boolean false
protected 'start_cached' => null
protected 'end_cached' => null
protected 'id' => int 8991
protected 'changes' =>
array (size=0)
empty
protected 'object_read' => boolean true
protected 'extra_data' =>
array (size=0)
empty
protected 'default_data' =>
array (size=16)
'all_day' => boolean false
'cost' => int 0
'customer_id' => int 0
'date_created' => string '' (length=0)
'date_modified' => string '' (length=0)
'end' => string '' (length=0)
'google_calendar_event_id' => int 0
'order_id' => int 0
'order_item_id' => int 0
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 0
'resource_id' => int 0
'start' => string '' (length=0)
'status' => string 'unpaid' (length=6)
'local_timezone' => string '' (length=0)
protected 'data_store' =>
object(WC_Data_Store)[4043]
private 'instance' =>
object(WC_Booking_Data_Store)[4044]
...
private 'stores' =>
array (size=43)
...
private 'current_class_name' => string 'WC_Booking_Data_Store' (length=21)
private 'object_type' => string 'booking' (length=7)
protected 'meta_data' => null
27 =>
object(WC_Booking)[4040]
protected 'data' =>
array (size=16)
'all_day' => boolean false
'cost' => string '50' (length=2)
'customer_id' => int 0
'date_created' => int 1641776734
'date_modified' => int 1641776793
'end' => int 1643029200
'google_calendar_event_id' => string '0' (length=1)
'order_id' => int 8990
'order_item_id' => int 47
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 8812
'resource_id' => int 0
'start' => int 1643014800
'status' => string 'paid' (length=4)
'local_timezone' => string '' (length=0)
protected 'cache_group' => string 'booking' (length=7)
protected 'data_store_name' => string 'booking' (length=7)
protected 'object_type' => string 'booking' (length=7)
protected 'status_transitioned' => boolean false
protected 'start_cached' => null
protected 'end_cached' => null
protected 'id' => int 8989
protected 'changes' =>
array (size=0)
empty
protected 'object_read' => boolean true
protected 'extra_data' =>
array (size=0)
empty
protected 'default_data' =>
array (size=16)
'all_day' => boolean false
'cost' => int 0
'customer_id' => int 0
'date_created' => string '' (length=0)
'date_modified' => string '' (length=0)
'end' => string '' (length=0)
'google_calendar_event_id' => int 0
'order_id' => int 0
'order_item_id' => int 0
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 0
'resource_id' => int 0
'start' => string '' (length=0)
'status' => string 'unpaid' (length=6)
'local_timezone' => string '' (length=0)
protected 'data_store' =>
object(WC_Data_Store)[4046]
private 'instance' =>
object(WC_Booking_Data_Store)[4047]
...
private 'stores' =>
array (size=43)
...
private 'current_class_name' => string 'WC_Booking_Data_Store' (length=21)
private 'object_type' => string 'booking' (length=7)
protected 'meta_data' => null
28 =>
object(WC_Booking)[3958]
protected 'data' =>
array (size=16)
'all_day' => boolean false
'cost' => string '50' (length=2)
'customer_id' => int 0
'date_created' => int 1641776048
'date_modified' => int 1641834165
'end' => int 1641834000
'google_calendar_event_id' => string '0' (length=1)
'order_id' => int 8988
'order_item_id' => int 46
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 8810
'resource_id' => int 0
'start' => int 1641819600
'status' => string 'complete' (length=8)
'local_timezone' => string '' (length=0)
protected 'cache_group' => string 'booking' (length=7)
protected 'data_store_name' => string 'booking' (length=7)
protected 'object_type' => string 'booking' (length=7)
protected 'status_transitioned' => boolean false
protected 'start_cached' => null
protected 'end_cached' => null
protected 'id' => int 8987
protected 'changes' =>
array (size=0)
empty
protected 'object_read' => boolean true
protected 'extra_data' =>
array (size=0)
empty
protected 'default_data' =>
array (size=16)
'all_day' => boolean false
'cost' => int 0
'customer_id' => int 0
'date_created' => string '' (length=0)
'date_modified' => string '' (length=0)
'end' => string '' (length=0)
'google_calendar_event_id' => int 0
'order_id' => int 0
'order_item_id' => int 0
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 0
'resource_id' => int 0
'start' => string '' (length=0)
'status' => string 'unpaid' (length=6)
'local_timezone' => string '' (length=0)
protected 'data_store' =>
object(WC_Data_Store)[4050]
private 'instance' =>
object(WC_Booking_Data_Store)[4051]
...
private 'stores' =>
array (size=43)
...
private 'current_class_name' => string 'WC_Booking_Data_Store' (length=21)
private 'object_type' => string 'booking' (length=7)
protected 'meta_data' => null
29 =>
object(WC_Booking)[4042]
protected 'data' =>
array (size=16)
'all_day' => boolean false
'cost' => string '50' (length=2)
'customer_id' => int 0
'date_created' => int 1641775821
'date_modified' => int 1641834161
'end' => int 1641834000
'google_calendar_event_id' => string '0' (length=1)
'order_id' => int 8986
'order_item_id' => int 45
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 8810
'resource_id' => int 0
'start' => int 1641819600
'status' => string 'complete' (length=8)
'local_timezone' => string '' (length=0)
protected 'cache_group' => string 'booking' (length=7)
protected 'data_store_name' => string 'booking' (length=7)
protected 'object_type' => string 'booking' (length=7)
protected 'status_transitioned' => boolean false
protected 'start_cached' => null
protected 'end_cached' => null
protected 'id' => int 8985
protected 'changes' =>
array (size=0)
empty
protected 'object_read' => boolean true
protected 'extra_data' =>
array (size=0)
empty
protected 'default_data' =>
array (size=16)
'all_day' => boolean false
'cost' => int 0
'customer_id' => int 0
'date_created' => string '' (length=0)
'date_modified' => string '' (length=0)
'end' => string '' (length=0)
'google_calendar_event_id' => int 0
'order_id' => int 0
'order_item_id' => int 0
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 0
'resource_id' => int 0
'start' => string '' (length=0)
'status' => string 'unpaid' (length=6)
'local_timezone' => string '' (length=0)
protected 'data_store' =>
object(WC_Data_Store)[4055]
private 'instance' =>
object(WC_Booking_Data_Store)[4056]
...
private 'stores' =>
array (size=43)
...
private 'current_class_name' => string 'WC_Booking_Data_Store' (length=21)
private 'object_type' => string 'booking' (length=7)
protected 'meta_data' => null
30 =>
object(WC_Booking)[4052]
protected 'data' =>
array (size=16)
'all_day' => boolean false
'cost' => string '50' (length=2)
'customer_id' => int 0
'date_created' => int 1641775700
'date_modified' => int 1641834157
'end' => int 1641834000
'google_calendar_event_id' => string '0' (length=1)
'order_id' => int 8984
'order_item_id' => int 44
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 8810
'resource_id' => int 0
'start' => int 1641819600
'status' => string 'complete' (length=8)
'local_timezone' => string '' (length=0)
protected 'cache_group' => string 'booking' (length=7)
protected 'data_store_name' => string 'booking' (length=7)
protected 'object_type' => string 'booking' (length=7)
protected 'status_transitioned' => boolean false
protected 'start_cached' => null
protected 'end_cached' => null
protected 'id' => int 8983
protected 'changes' =>
array (size=0)
empty
protected 'object_read' => boolean true
protected 'extra_data' =>
array (size=0)
empty
protected 'default_data' =>
array (size=16)
'all_day' => boolean false
'cost' => int 0
'customer_id' => int 0
'date_created' => string '' (length=0)
'date_modified' => string '' (length=0)
'end' => string '' (length=0)
'google_calendar_event_id' => int 0
'order_id' => int 0
'order_item_id' => int 0
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 0
'resource_id' => int 0
'start' => string '' (length=0)
'status' => string 'unpaid' (length=6)
'local_timezone' => string '' (length=0)
protected 'data_store' =>
object(WC_Data_Store)[4058]
private 'instance' =>
object(WC_Booking_Data_Store)[4059]
...
private 'stores' =>
array (size=43)
...
private 'current_class_name' => string 'WC_Booking_Data_Store' (length=21)
private 'object_type' => string 'booking' (length=7)
protected 'meta_data' => null
31 =>
object(WC_Booking)[4033]
protected 'data' =>
array (size=16)
'all_day' => boolean false
'cost' => string '50' (length=2)
'customer_id' => int 0
'date_created' => int 1641775462
'date_modified' => int 1641819681
'end' => int 1641819600
'google_calendar_event_id' => string '0' (length=1)
'order_id' => int 8982
'order_item_id' => int 43
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 8810
'resource_id' => int 0
'start' => int 1641805200
'status' => string 'complete' (length=8)
'local_timezone' => string '' (length=0)
protected 'cache_group' => string 'booking' (length=7)
protected 'data_store_name' => string 'booking' (length=7)
protected 'object_type' => string 'booking' (length=7)
protected 'status_transitioned' => boolean false
protected 'start_cached' => null
protected 'end_cached' => null
protected 'id' => int 8981
protected 'changes' =>
array (size=0)
empty
protected 'object_read' => boolean true
protected 'extra_data' =>
array (size=0)
empty
protected 'default_data' =>
array (size=16)
'all_day' => boolean false
'cost' => int 0
'customer_id' => int 0
'date_created' => string '' (length=0)
'date_modified' => string '' (length=0)
'end' => string '' (length=0)
'google_calendar_event_id' => int 0
'order_id' => int 0
'order_item_id' => int 0
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 0
'resource_id' => int 0
'start' => string '' (length=0)
'status' => string 'unpaid' (length=6)
'local_timezone' => string '' (length=0)
protected 'data_store' =>
object(WC_Data_Store)[4062]
private 'instance' =>
object(WC_Booking_Data_Store)[4063]
...
private 'stores' =>
array (size=43)
...
private 'current_class_name' => string 'WC_Booking_Data_Store' (length=21)
private 'object_type' => string 'booking' (length=7)
protected 'meta_data' => null
32 =>
object(WC_Booking)[4054]
protected 'data' =>
array (size=16)
'all_day' => boolean false
'cost' => string '50' (length=2)
'customer_id' => int 0
'date_created' => int 1641772625
'date_modified' => int 1641772712
'end' => int 1643043600
'google_calendar_event_id' => string '0' (length=1)
'order_id' => int 8978
'order_item_id' => int 41
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 8812
'resource_id' => int 0
'start' => int 1643029200
'status' => string 'paid' (length=4)
'local_timezone' => string '' (length=0)
protected 'cache_group' => string 'booking' (length=7)
protected 'data_store_name' => string 'booking' (length=7)
protected 'object_type' => string 'booking' (length=7)
protected 'status_transitioned' => boolean false
protected 'start_cached' => null
protected 'end_cached' => null
protected 'id' => int 8977
protected 'changes' =>
array (size=0)
empty
protected 'object_read' => boolean true
protected 'extra_data' =>
array (size=0)
empty
protected 'default_data' =>
array (size=16)
'all_day' => boolean false
'cost' => int 0
'customer_id' => int 0
'date_created' => string '' (length=0)
'date_modified' => string '' (length=0)
'end' => string '' (length=0)
'google_calendar_event_id' => int 0
'order_id' => int 0
'order_item_id' => int 0
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 0
'resource_id' => int 0
'start' => string '' (length=0)
'status' => string 'unpaid' (length=6)
'local_timezone' => string '' (length=0)
protected 'data_store' =>
object(WC_Data_Store)[4066]
private 'instance' =>
object(WC_Booking_Data_Store)[4067]
...
private 'stores' =>
array (size=43)
...
private 'current_class_name' => string 'WC_Booking_Data_Store' (length=21)
private 'object_type' => string 'booking' (length=7)
protected 'meta_data' => null
33 =>
object(WC_Booking)[4057]
protected 'data' =>
array (size=16)
'all_day' => boolean false
'cost' => string '50' (length=2)
'customer_id' => int 0
'date_created' => int 1641761841
'date_modified' => int 1641834154
'end' => int 1641834000
'google_calendar_event_id' => string '0' (length=1)
'order_id' => int 8976
'order_item_id' => int 40
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 8810
'resource_id' => int 0
'start' => int 1641819600
'status' => string 'complete' (length=8)
'local_timezone' => string '' (length=0)
protected 'cache_group' => string 'booking' (length=7)
protected 'data_store_name' => string 'booking' (length=7)
protected 'object_type' => string 'booking' (length=7)
protected 'status_transitioned' => boolean false
protected 'start_cached' => null
protected 'end_cached' => null
protected 'id' => int 8975
protected 'changes' =>
array (size=0)
empty
protected 'object_read' => boolean true
protected 'extra_data' =>
array (size=0)
empty
protected 'default_data' =>
array (size=16)
'all_day' => boolean false
'cost' => int 0
'customer_id' => int 0
'date_created' => string '' (length=0)
'date_modified' => string '' (length=0)
'end' => string '' (length=0)
'google_calendar_event_id' => int 0
'order_id' => int 0
'order_item_id' => int 0
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 0
'resource_id' => int 0
'start' => string '' (length=0)
'status' => string 'unpaid' (length=6)
'local_timezone' => string '' (length=0)
protected 'data_store' =>
object(WC_Data_Store)[4070]
private 'instance' =>
object(WC_Booking_Data_Store)[4071]
...
private 'stores' =>
array (size=43)
...
private 'current_class_name' => string 'WC_Booking_Data_Store' (length=21)
private 'object_type' => string 'booking' (length=7)
protected 'meta_data' => null
34 =>
object(WC_Booking)[4061]
protected 'data' =>
array (size=16)
'all_day' => boolean false
'cost' => string '50' (length=2)
'customer_id' => int 0
'date_created' => int 1641684642
'date_modified' => int 1641684710
'end' => int 1643043600
'google_calendar_event_id' => string '0' (length=1)
'order_id' => int 8974
'order_item_id' => int 39
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 8812
'resource_id' => int 0
'start' => int 1643029200
'status' => string 'paid' (length=4)
'local_timezone' => string '' (length=0)
protected 'cache_group' => string 'booking' (length=7)
protected 'data_store_name' => string 'booking' (length=7)
protected 'object_type' => string 'booking' (length=7)
protected 'status_transitioned' => boolean false
protected 'start_cached' => null
protected 'end_cached' => null
protected 'id' => int 8973
protected 'changes' =>
array (size=0)
empty
protected 'object_read' => boolean true
protected 'extra_data' =>
array (size=0)
empty
protected 'default_data' =>
array (size=16)
'all_day' => boolean false
'cost' => int 0
'customer_id' => int 0
'date_created' => string '' (length=0)
'date_modified' => string '' (length=0)
'end' => string '' (length=0)
'google_calendar_event_id' => int 0
'order_id' => int 0
'order_item_id' => int 0
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 0
'resource_id' => int 0
'start' => string '' (length=0)
'status' => string 'unpaid' (length=6)
'local_timezone' => string '' (length=0)
protected 'data_store' =>
object(WC_Data_Store)[4075]
private 'instance' =>
object(WC_Booking_Data_Store)[4076]
...
private 'stores' =>
array (size=43)
...
private 'current_class_name' => string 'WC_Booking_Data_Store' (length=21)
private 'object_type' => string 'booking' (length=7)
protected 'meta_data' => null
35 =>
object(WC_Booking)[4072]
protected 'data' =>
array (size=16)
'all_day' => boolean false
'cost' => string '50' (length=2)
'customer_id' => int 0
'date_created' => int 1641684175
'date_modified' => int 1641684385
'end' => int 1643043600
'google_calendar_event_id' => string '0' (length=1)
'order_id' => int 8972
'order_item_id' => int 38
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 8812
'resource_id' => int 0
'start' => int 1643029200
'status' => string 'paid' (length=4)
'local_timezone' => string '' (length=0)
protected 'cache_group' => string 'booking' (length=7)
protected 'data_store_name' => string 'booking' (length=7)
protected 'object_type' => string 'booking' (length=7)
protected 'status_transitioned' => boolean false
protected 'start_cached' => null
protected 'end_cached' => null
protected 'id' => int 8971
protected 'changes' =>
array (size=0)
empty
protected 'object_read' => boolean true
protected 'extra_data' =>
array (size=0)
empty
protected 'default_data' =>
array (size=16)
'all_day' => boolean false
'cost' => int 0
'customer_id' => int 0
'date_created' => string '' (length=0)
'date_modified' => string '' (length=0)
'end' => string '' (length=0)
'google_calendar_event_id' => int 0
'order_id' => int 0
'order_item_id' => int 0
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 0
'resource_id' => int 0
'start' => string '' (length=0)
'status' => string 'unpaid' (length=6)
'local_timezone' => string '' (length=0)
protected 'data_store' =>
object(WC_Data_Store)[4078]
private 'instance' =>
object(WC_Booking_Data_Store)[4079]
...
private 'stores' =>
array (size=43)
...
private 'current_class_name' => string 'WC_Booking_Data_Store' (length=21)
private 'object_type' => string 'booking' (length=7)
protected 'meta_data' => null
36 =>
object(WC_Booking)[4045]
protected 'data' =>
array (size=16)
'all_day' => boolean false
'cost' => string '50' (length=2)
'customer_id' => int 0
'date_created' => int 1641594120
'date_modified' => int 1641594261
'end' => int 1643029200
'google_calendar_event_id' => string '0' (length=1)
'order_id' => int 8970
'order_item_id' => int 37
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 8812
'resource_id' => int 0
'start' => int 1643014800
'status' => string 'unpaid' (length=6)
'local_timezone' => string '' (length=0)
protected 'cache_group' => string 'booking' (length=7)
protected 'data_store_name' => string 'booking' (length=7)
protected 'object_type' => string 'booking' (length=7)
protected 'status_transitioned' => boolean false
protected 'start_cached' => null
protected 'end_cached' => null
protected 'id' => int 8969
protected 'changes' =>
array (size=0)
empty
protected 'object_read' => boolean true
protected 'extra_data' =>
array (size=0)
empty
protected 'default_data' =>
array (size=16)
'all_day' => boolean false
'cost' => int 0
'customer_id' => int 0
'date_created' => string '' (length=0)
'date_modified' => string '' (length=0)
'end' => string '' (length=0)
'google_calendar_event_id' => int 0
'order_id' => int 0
'order_item_id' => int 0
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 0
'resource_id' => int 0
'start' => string '' (length=0)
'status' => string 'unpaid' (length=6)
'local_timezone' => string '' (length=0)
protected 'data_store' =>
object(WC_Data_Store)[4082]
private 'instance' =>
object(WC_Booking_Data_Store)[4083]
...
private 'stores' =>
array (size=43)
...
private 'current_class_name' => string 'WC_Booking_Data_Store' (length=21)
private 'object_type' => string 'booking' (length=7)
protected 'meta_data' => null
37 =>
object(WC_Booking)[4074]
protected 'data' =>
array (size=16)
'all_day' => boolean false
'cost' => string '59.99' (length=5)
'customer_id' => int 0
'date_created' => int 1641581675
'date_modified' => int 1641583012
'end' => int 1643043600
'google_calendar_event_id' => string '0' (length=1)
'order_id' => int 8968
'order_item_id' => int 36
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 8466
'resource_id' => int 0
'start' => int 1643032800
'status' => string 'unpaid' (length=6)
'local_timezone' => string '' (length=0)
protected 'cache_group' => string 'booking' (length=7)
protected 'data_store_name' => string 'booking' (length=7)
protected 'object_type' => string 'booking' (length=7)
protected 'status_transitioned' => boolean false
protected 'start_cached' => null
protected 'end_cached' => null
protected 'id' => int 8967
protected 'changes' =>
array (size=0)
empty
protected 'object_read' => boolean true
protected 'extra_data' =>
array (size=0)
empty
protected 'default_data' =>
array (size=16)
'all_day' => boolean false
'cost' => int 0
'customer_id' => int 0
'date_created' => string '' (length=0)
'date_modified' => string '' (length=0)
'end' => string '' (length=0)
'google_calendar_event_id' => int 0
'order_id' => int 0
'order_item_id' => int 0
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 0
'resource_id' => int 0
'start' => string '' (length=0)
'status' => string 'unpaid' (length=6)
'local_timezone' => string '' (length=0)
protected 'data_store' =>
object(WC_Data_Store)[4086]
private 'instance' =>
object(WC_Booking_Data_Store)[4087]
...
private 'stores' =>
array (size=43)
...
private 'current_class_name' => string 'WC_Booking_Data_Store' (length=21)
private 'object_type' => string 'booking' (length=7)
protected 'meta_data' => null
38 =>
object(WC_Booking)[4077]
protected 'data' =>
array (size=16)
'all_day' => boolean false
'cost' => string '50' (length=2)
'customer_id' => int 0
'date_created' => int 1641498566
'date_modified' => int 1641819677
'end' => int 1641819600
'google_calendar_event_id' => string '0' (length=1)
'order_id' => int 8950
'order_item_id' => int 35
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 8810
'resource_id' => int 0
'start' => int 1641805200
'status' => string 'complete' (length=8)
'local_timezone' => string '' (length=0)
protected 'cache_group' => string 'booking' (length=7)
protected 'data_store_name' => string 'booking' (length=7)
protected 'object_type' => string 'booking' (length=7)
protected 'status_transitioned' => boolean false
protected 'start_cached' => null
protected 'end_cached' => null
protected 'id' => int 8949
protected 'changes' =>
array (size=0)
empty
protected 'object_read' => boolean true
protected 'extra_data' =>
array (size=0)
empty
protected 'default_data' =>
array (size=16)
'all_day' => boolean false
'cost' => int 0
'customer_id' => int 0
'date_created' => string '' (length=0)
'date_modified' => string '' (length=0)
'end' => string '' (length=0)
'google_calendar_event_id' => int 0
'order_id' => int 0
'order_item_id' => int 0
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 0
'resource_id' => int 0
'start' => string '' (length=0)
'status' => string 'unpaid' (length=6)
'local_timezone' => string '' (length=0)
protected 'data_store' =>
object(WC_Data_Store)[4090]
private 'instance' =>
object(WC_Booking_Data_Store)[4091]
...
private 'stores' =>
array (size=43)
...
private 'current_class_name' => string 'WC_Booking_Data_Store' (length=21)
private 'object_type' => string 'booking' (length=7)
protected 'meta_data' => null
39 =>
object(WC_Booking)[4081]
protected 'data' =>
array (size=16)
'all_day' => boolean false
'cost' => string '59.99' (length=5)
'customer_id' => int 0
'date_created' => int 1641435573
'date_modified' => int 1642104181
'end' => int 1642104000
'google_calendar_event_id' => string '0' (length=1)
'order_id' => int 8948
'order_item_id' => int 34
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 8466
'resource_id' => int 0
'start' => int 1642093200
'status' => string 'complete' (length=8)
'local_timezone' => string '' (length=0)
protected 'cache_group' => string 'booking' (length=7)
protected 'data_store_name' => string 'booking' (length=7)
protected 'object_type' => string 'booking' (length=7)
protected 'status_transitioned' => boolean false
protected 'start_cached' => null
protected 'end_cached' => null
protected 'id' => int 8947
protected 'changes' =>
array (size=0)
empty
protected 'object_read' => boolean true
protected 'extra_data' =>
array (size=0)
empty
protected 'default_data' =>
array (size=16)
'all_day' => boolean false
'cost' => int 0
'customer_id' => int 0
'date_created' => string '' (length=0)
'date_modified' => string '' (length=0)
'end' => string '' (length=0)
'google_calendar_event_id' => int 0
'order_id' => int 0
'order_item_id' => int 0
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 0
'resource_id' => int 0
'start' => string '' (length=0)
'status' => string 'unpaid' (length=6)
'local_timezone' => string '' (length=0)
protected 'data_store' =>
object(WC_Data_Store)[4095]
private 'instance' =>
object(WC_Booking_Data_Store)[4096]
...
private 'stores' =>
array (size=43)
...
private 'current_class_name' => string 'WC_Booking_Data_Store' (length=21)
private 'object_type' => string 'booking' (length=7)
protected 'meta_data' => null
40 =>
object(WC_Booking)[4092]
protected 'data' =>
array (size=16)
'all_day' => boolean false
'cost' => string '59.99' (length=5)
'customer_id' => int 0
'date_created' => int 1641421883
'date_modified' => int 1642615225
'end' => int 1642615200
'google_calendar_event_id' => string '0' (length=1)
'order_id' => int 8939
'order_item_id' => int 33
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 8506
'resource_id' => int 0
'start' => int 1642611600
'status' => string 'complete' (length=8)
'local_timezone' => string '' (length=0)
protected 'cache_group' => string 'booking' (length=7)
protected 'data_store_name' => string 'booking' (length=7)
protected 'object_type' => string 'booking' (length=7)
protected 'status_transitioned' => boolean false
protected 'start_cached' => null
protected 'end_cached' => null
protected 'id' => int 8938
protected 'changes' =>
array (size=0)
empty
protected 'object_read' => boolean true
protected 'extra_data' =>
array (size=0)
empty
protected 'default_data' =>
array (size=16)
'all_day' => boolean false
'cost' => int 0
'customer_id' => int 0
'date_created' => string '' (length=0)
'date_modified' => string '' (length=0)
'end' => string '' (length=0)
'google_calendar_event_id' => int 0
'order_id' => int 0
'order_item_id' => int 0
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 0
'resource_id' => int 0
'start' => string '' (length=0)
'status' => string 'unpaid' (length=6)
'local_timezone' => string '' (length=0)
protected 'data_store' =>
object(WC_Data_Store)[4099]
private 'instance' =>
object(WC_Booking_Data_Store)[4100]
...
private 'stores' =>
array (size=43)
...
private 'current_class_name' => string 'WC_Booking_Data_Store' (length=21)
private 'object_type' => string 'booking' (length=7)
protected 'meta_data' => null
41 =>
object(WC_Booking)[4089]
protected 'data' =>
array (size=16)
'all_day' => boolean false
'cost' => string '50' (length=2)
'customer_id' => int 0
'date_created' => int 1641421766
'date_modified' => int 1641834150
'end' => int 1641834000
'google_calendar_event_id' => string '0' (length=1)
'order_id' => int 8937
'order_item_id' => int 32
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 8810
'resource_id' => int 0
'start' => int 1641819600
'status' => string 'complete' (length=8)
'local_timezone' => string '' (length=0)
protected 'cache_group' => string 'booking' (length=7)
protected 'data_store_name' => string 'booking' (length=7)
protected 'object_type' => string 'booking' (length=7)
protected 'status_transitioned' => boolean false
protected 'start_cached' => null
protected 'end_cached' => null
protected 'id' => int 8936
protected 'changes' =>
array (size=0)
empty
protected 'object_read' => boolean true
protected 'extra_data' =>
array (size=0)
empty
protected 'default_data' =>
array (size=16)
'all_day' => boolean false
'cost' => int 0
'customer_id' => int 0
'date_created' => string '' (length=0)
'date_modified' => string '' (length=0)
'end' => string '' (length=0)
'google_calendar_event_id' => int 0
'order_id' => int 0
'order_item_id' => int 0
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 0
'resource_id' => int 0
'start' => string '' (length=0)
'status' => string 'unpaid' (length=6)
'local_timezone' => string '' (length=0)
protected 'data_store' =>
object(WC_Data_Store)[4102]
private 'instance' =>
object(WC_Booking_Data_Store)[4103]
...
private 'stores' =>
array (size=43)
...
private 'current_class_name' => string 'WC_Booking_Data_Store' (length=21)
private 'object_type' => string 'booking' (length=7)
protected 'meta_data' => null
42 =>
object(WC_Booking)[4085]
protected 'data' =>
array (size=16)
'all_day' => boolean false
'cost' => string '59.99' (length=5)
'customer_id' => int 0
'date_created' => int 1641412620
'date_modified' => int 1641481247
'end' => int 1641481200
'google_calendar_event_id' => string '0' (length=1)
'order_id' => int 8935
'order_item_id' => int 31
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 8506
'resource_id' => int 0
'start' => int 1641477600
'status' => string 'complete' (length=8)
'local_timezone' => string '' (length=0)
protected 'cache_group' => string 'booking' (length=7)
protected 'data_store_name' => string 'booking' (length=7)
protected 'object_type' => string 'booking' (length=7)
protected 'status_transitioned' => boolean false
protected 'start_cached' => null
protected 'end_cached' => null
protected 'id' => int 8934
protected 'changes' =>
array (size=0)
empty
protected 'object_read' => boolean true
protected 'extra_data' =>
array (size=0)
empty
protected 'default_data' =>
array (size=16)
'all_day' => boolean false
'cost' => int 0
'customer_id' => int 0
'date_created' => string '' (length=0)
'date_modified' => string '' (length=0)
'end' => string '' (length=0)
'google_calendar_event_id' => int 0
'order_id' => int 0
'order_item_id' => int 0
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 0
'resource_id' => int 0
'start' => string '' (length=0)
'status' => string 'unpaid' (length=6)
'local_timezone' => string '' (length=0)
protected 'data_store' =>
object(WC_Data_Store)[4107]
private 'instance' =>
object(WC_Booking_Data_Store)[4108]
...
private 'stores' =>
array (size=43)
...
private 'current_class_name' => string 'WC_Booking_Data_Store' (length=21)
private 'object_type' => string 'booking' (length=7)
protected 'meta_data' => null
43 =>
object(WC_Booking)[4104]
protected 'data' =>
array (size=16)
'all_day' => boolean false
'cost' => string '50' (length=2)
'customer_id' => int 0
'date_created' => int 1641404548
'date_modified' => int 1641834146
'end' => int 1641834000
'google_calendar_event_id' => string '0' (length=1)
'order_id' => int 8933
'order_item_id' => int 30
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 8810
'resource_id' => int 0
'start' => int 1641819600
'status' => string 'complete' (length=8)
'local_timezone' => string '' (length=0)
protected 'cache_group' => string 'booking' (length=7)
protected 'data_store_name' => string 'booking' (length=7)
protected 'object_type' => string 'booking' (length=7)
protected 'status_transitioned' => boolean false
protected 'start_cached' => null
protected 'end_cached' => null
protected 'id' => int 8932
protected 'changes' =>
array (size=0)
empty
protected 'object_read' => boolean true
protected 'extra_data' =>
array (size=0)
empty
protected 'default_data' =>
array (size=16)
'all_day' => boolean false
'cost' => int 0
'customer_id' => int 0
'date_created' => string '' (length=0)
'date_modified' => string '' (length=0)
'end' => string '' (length=0)
'google_calendar_event_id' => int 0
'order_id' => int 0
'order_item_id' => int 0
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 0
'resource_id' => int 0
'start' => string '' (length=0)
'status' => string 'unpaid' (length=6)
'local_timezone' => string '' (length=0)
protected 'data_store' =>
object(WC_Data_Store)[4110]
private 'instance' =>
object(WC_Booking_Data_Store)[4111]
...
private 'stores' =>
array (size=43)
...
private 'current_class_name' => string 'WC_Booking_Data_Store' (length=21)
private 'object_type' => string 'booking' (length=7)
protected 'meta_data' => null
44 =>
object(WC_Booking)[3966]
protected 'data' =>
array (size=16)
'all_day' => boolean false
'cost' => string '50' (length=2)
'customer_id' => int 0
'date_created' => int 1641401531
'date_modified' => int 1641834143
'end' => int 1641834000
'google_calendar_event_id' => string '0' (length=1)
'order_id' => int 8931
'order_item_id' => int 29
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 8810
'resource_id' => int 0
'start' => int 1641819600
'status' => string 'complete' (length=8)
'local_timezone' => string '' (length=0)
protected 'cache_group' => string 'booking' (length=7)
protected 'data_store_name' => string 'booking' (length=7)
protected 'object_type' => string 'booking' (length=7)
protected 'status_transitioned' => boolean false
protected 'start_cached' => null
protected 'end_cached' => null
protected 'id' => int 8930
protected 'changes' =>
array (size=0)
empty
protected 'object_read' => boolean true
protected 'extra_data' =>
array (size=0)
empty
protected 'default_data' =>
array (size=16)
'all_day' => boolean false
'cost' => int 0
'customer_id' => int 0
'date_created' => string '' (length=0)
'date_modified' => string '' (length=0)
'end' => string '' (length=0)
'google_calendar_event_id' => int 0
'order_id' => int 0
'order_item_id' => int 0
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 0
'resource_id' => int 0
'start' => string '' (length=0)
'status' => string 'unpaid' (length=6)
'local_timezone' => string '' (length=0)
protected 'data_store' =>
object(WC_Data_Store)[4114]
private 'instance' =>
object(WC_Booking_Data_Store)[4115]
...
private 'stores' =>
array (size=43)
...
private 'current_class_name' => string 'WC_Booking_Data_Store' (length=21)
private 'object_type' => string 'booking' (length=7)
protected 'meta_data' => null
45 =>
object(WC_Booking)[4106]
protected 'data' =>
array (size=16)
'all_day' => boolean false
'cost' => string '50' (length=2)
'customer_id' => int 0
'date_created' => int 1641346746
'date_modified' => int 1641346801
'end' => int 1644238800
'google_calendar_event_id' => string '0' (length=1)
'order_id' => int 8929
'order_item_id' => int 28
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 8813
'resource_id' => int 0
'start' => int 1644224400
'status' => string 'unpaid' (length=6)
'local_timezone' => string '' (length=0)
protected 'cache_group' => string 'booking' (length=7)
protected 'data_store_name' => string 'booking' (length=7)
protected 'object_type' => string 'booking' (length=7)
protected 'status_transitioned' => boolean false
protected 'start_cached' => null
protected 'end_cached' => null
protected 'id' => int 8928
protected 'changes' =>
array (size=0)
empty
protected 'object_read' => boolean true
protected 'extra_data' =>
array (size=0)
empty
protected 'default_data' =>
array (size=16)
'all_day' => boolean false
'cost' => int 0
'customer_id' => int 0
'date_created' => string '' (length=0)
'date_modified' => string '' (length=0)
'end' => string '' (length=0)
'google_calendar_event_id' => int 0
'order_id' => int 0
'order_item_id' => int 0
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 0
'resource_id' => int 0
'start' => string '' (length=0)
'status' => string 'unpaid' (length=6)
'local_timezone' => string '' (length=0)
protected 'data_store' =>
object(WC_Data_Store)[4119]
private 'instance' =>
object(WC_Booking_Data_Store)[4120]
...
private 'stores' =>
array (size=43)
...
private 'current_class_name' => string 'WC_Booking_Data_Store' (length=21)
private 'object_type' => string 'booking' (length=7)
protected 'meta_data' => null
46 =>
object(WC_Booking)[4116]
protected 'data' =>
array (size=16)
'all_day' => boolean false
'cost' => string '59.99' (length=5)
'customer_id' => int 0
'date_created' => int 1641323181
'date_modified' => int 1641488618
'end' => int 1641488400
'google_calendar_event_id' => string '0' (length=1)
'order_id' => int 8923
'order_item_id' => int 27
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 8506
'resource_id' => int 0
'start' => int 1641484800
'status' => string 'complete' (length=8)
'local_timezone' => string '' (length=0)
protected 'cache_group' => string 'booking' (length=7)
protected 'data_store_name' => string 'booking' (length=7)
protected 'object_type' => string 'booking' (length=7)
protected 'status_transitioned' => boolean false
protected 'start_cached' => null
protected 'end_cached' => null
protected 'id' => int 8922
protected 'changes' =>
array (size=0)
empty
protected 'object_read' => boolean true
protected 'extra_data' =>
array (size=0)
empty
protected 'default_data' =>
array (size=16)
'all_day' => boolean false
'cost' => int 0
'customer_id' => int 0
'date_created' => string '' (length=0)
'date_modified' => string '' (length=0)
'end' => string '' (length=0)
'google_calendar_event_id' => int 0
'order_id' => int 0
'order_item_id' => int 0
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 0
'resource_id' => int 0
'start' => string '' (length=0)
'status' => string 'unpaid' (length=6)
'local_timezone' => string '' (length=0)
protected 'data_store' =>
object(WC_Data_Store)[4123]
private 'instance' =>
object(WC_Booking_Data_Store)[4124]
...
private 'stores' =>
array (size=43)
...
private 'current_class_name' => string 'WC_Booking_Data_Store' (length=21)
private 'object_type' => string 'booking' (length=7)
protected 'meta_data' => null
47 =>
object(WC_Booking)[4113]
protected 'data' =>
array (size=16)
'all_day' => boolean false
'cost' => string '50' (length=2)
'customer_id' => int 0
'date_created' => int 1641309751
'date_modified' => int 1641309792
'end' => int 1643043600
'google_calendar_event_id' => string '0' (length=1)
'order_id' => int 8919
'order_item_id' => int 26
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 8812
'resource_id' => int 0
'start' => int 1643029200
'status' => string 'paid' (length=4)
'local_timezone' => string '' (length=0)
protected 'cache_group' => string 'booking' (length=7)
protected 'data_store_name' => string 'booking' (length=7)
protected 'object_type' => string 'booking' (length=7)
protected 'status_transitioned' => boolean false
protected 'start_cached' => null
protected 'end_cached' => null
protected 'id' => int 8918
protected 'changes' =>
array (size=0)
empty
protected 'object_read' => boolean true
protected 'extra_data' =>
array (size=0)
empty
protected 'default_data' =>
array (size=16)
'all_day' => boolean false
'cost' => int 0
'customer_id' => int 0
'date_created' => string '' (length=0)
'date_modified' => string '' (length=0)
'end' => string '' (length=0)
'google_calendar_event_id' => int 0
'order_id' => int 0
'order_item_id' => int 0
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 0
'resource_id' => int 0
'start' => string '' (length=0)
'status' => string 'unpaid' (length=6)
'local_timezone' => string '' (length=0)
protected 'data_store' =>
object(WC_Data_Store)[4127]
private 'instance' =>
object(WC_Booking_Data_Store)[4128]
...
private 'stores' =>
array (size=43)
...
private 'current_class_name' => string 'WC_Booking_Data_Store' (length=21)
private 'object_type' => string 'booking' (length=7)
protected 'meta_data' => null
48 =>
object(WC_Booking)[4118]
protected 'data' =>
array (size=16)
'all_day' => boolean false
'cost' => string '50' (length=2)
'customer_id' => int 0
'date_created' => int 1641232399
'date_modified' => int 1641834139
'end' => int 1641834000
'google_calendar_event_id' => string '0' (length=1)
'order_id' => int 8916
'order_item_id' => int 25
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 8810
'resource_id' => int 0
'start' => int 1641819600
'status' => string 'complete' (length=8)
'local_timezone' => string '' (length=0)
protected 'cache_group' => string 'booking' (length=7)
protected 'data_store_name' => string 'booking' (length=7)
protected 'object_type' => string 'booking' (length=7)
protected 'status_transitioned' => boolean false
protected 'start_cached' => null
protected 'end_cached' => null
protected 'id' => int 8915
protected 'changes' =>
array (size=0)
empty
protected 'object_read' => boolean true
protected 'extra_data' =>
array (size=0)
empty
protected 'default_data' =>
array (size=16)
'all_day' => boolean false
'cost' => int 0
'customer_id' => int 0
'date_created' => string '' (length=0)
'date_modified' => string '' (length=0)
'end' => string '' (length=0)
'google_calendar_event_id' => int 0
'order_id' => int 0
'order_item_id' => int 0
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 0
'resource_id' => int 0
'start' => string '' (length=0)
'status' => string 'unpaid' (length=6)
'local_timezone' => string '' (length=0)
protected 'data_store' =>
object(WC_Data_Store)[4130]
private 'instance' =>
object(WC_Booking_Data_Store)[4131]
...
private 'stores' =>
array (size=43)
...
private 'current_class_name' => string 'WC_Booking_Data_Store' (length=21)
private 'object_type' => string 'booking' (length=7)
protected 'meta_data' => null
49 =>
object(WC_Booking)[4098]
protected 'data' =>
array (size=16)
'all_day' => boolean false
'cost' => string '59.99' (length=5)
'customer_id' => int 0
'date_created' => int 1641178013
'date_modified' => int 1641463371
'end' => int 1641463200
'google_calendar_event_id' => string '0' (length=1)
'order_id' => int 8913
'order_item_id' => int 24
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 8506
'resource_id' => int 0
'start' => int 1641459600
'status' => string 'complete' (length=8)
'local_timezone' => string '' (length=0)
protected 'cache_group' => string 'booking' (length=7)
protected 'data_store_name' => string 'booking' (length=7)
protected 'object_type' => string 'booking' (length=7)
protected 'status_transitioned' => boolean false
protected 'start_cached' => null
protected 'end_cached' => null
protected 'id' => int 8912
protected 'changes' =>
array (size=0)
empty
protected 'object_read' => boolean true
protected 'extra_data' =>
array (size=0)
empty
protected 'default_data' =>
array (size=16)
'all_day' => boolean false
'cost' => int 0
'customer_id' => int 0
'date_created' => string '' (length=0)
'date_modified' => string '' (length=0)
'end' => string '' (length=0)
'google_calendar_event_id' => int 0
'order_id' => int 0
'order_item_id' => int 0
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 0
'resource_id' => int 0
'start' => string '' (length=0)
'status' => string 'unpaid' (length=6)
'local_timezone' => string '' (length=0)
protected 'data_store' =>
object(WC_Data_Store)[4134]
private 'instance' =>
object(WC_Booking_Data_Store)[4135]
...
private 'stores' =>
array (size=43)
...
private 'current_class_name' => string 'WC_Booking_Data_Store' (length=21)
private 'object_type' => string 'booking' (length=7)
protected 'meta_data' => null
50 =>
object(WC_Booking)[4126]
protected 'data' =>
array (size=16)
'all_day' => boolean false
'cost' => string '50' (length=2)
'customer_id' => int 0
'date_created' => int 1641173337
'date_modified' => int 1641819673
'end' => int 1641819600
'google_calendar_event_id' => string '0' (length=1)
'order_id' => int 8911
'order_item_id' => int 23
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 8810
'resource_id' => int 0
'start' => int 1641805200
'status' => string 'complete' (length=8)
'local_timezone' => string '' (length=0)
protected 'cache_group' => string 'booking' (length=7)
protected 'data_store_name' => string 'booking' (length=7)
protected 'object_type' => string 'booking' (length=7)
protected 'status_transitioned' => boolean false
protected 'start_cached' => null
protected 'end_cached' => null
protected 'id' => int 8910
protected 'changes' =>
array (size=0)
empty
protected 'object_read' => boolean true
protected 'extra_data' =>
array (size=0)
empty
protected 'default_data' =>
array (size=16)
'all_day' => boolean false
'cost' => int 0
'customer_id' => int 0
'date_created' => string '' (length=0)
'date_modified' => string '' (length=0)
'end' => string '' (length=0)
'google_calendar_event_id' => int 0
'order_id' => int 0
'order_item_id' => int 0
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 0
'resource_id' => int 0
'start' => string '' (length=0)
'status' => string 'unpaid' (length=6)
'local_timezone' => string '' (length=0)
protected 'data_store' =>
object(WC_Data_Store)[4139]
private 'instance' =>
object(WC_Booking_Data_Store)[4140]
...
private 'stores' =>
array (size=43)
...
private 'current_class_name' => string 'WC_Booking_Data_Store' (length=21)
private 'object_type' => string 'booking' (length=7)
protected 'meta_data' => null
51 =>
object(WC_Booking)[4136]
protected 'data' =>
array (size=16)
'all_day' => boolean false
'cost' => string '50' (length=2)
'customer_id' => int 0
'date_created' => int 1641089999
'date_modified' => int 1641819670
'end' => int 1641819600
'google_calendar_event_id' => string '0' (length=1)
'order_id' => int 8909
'order_item_id' => int 22
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 8810
'resource_id' => int 0
'start' => int 1641805200
'status' => string 'complete' (length=8)
'local_timezone' => string '' (length=0)
protected 'cache_group' => string 'booking' (length=7)
protected 'data_store_name' => string 'booking' (length=7)
protected 'object_type' => string 'booking' (length=7)
protected 'status_transitioned' => boolean false
protected 'start_cached' => null
protected 'end_cached' => null
protected 'id' => int 8908
protected 'changes' =>
array (size=0)
empty
protected 'object_read' => boolean true
protected 'extra_data' =>
array (size=0)
empty
protected 'default_data' =>
array (size=16)
'all_day' => boolean false
'cost' => int 0
'customer_id' => int 0
'date_created' => string '' (length=0)
'date_modified' => string '' (length=0)
'end' => string '' (length=0)
'google_calendar_event_id' => int 0
'order_id' => int 0
'order_item_id' => int 0
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 0
'resource_id' => int 0
'start' => string '' (length=0)
'status' => string 'unpaid' (length=6)
'local_timezone' => string '' (length=0)
protected 'data_store' =>
object(WC_Data_Store)[4143]
private 'instance' =>
object(WC_Booking_Data_Store)[4144]
...
private 'stores' =>
array (size=43)
...
private 'current_class_name' => string 'WC_Booking_Data_Store' (length=21)
private 'object_type' => string 'booking' (length=7)
protected 'meta_data' => null
52 =>
object(WC_Booking)[4133]
protected 'data' =>
array (size=16)
'all_day' => boolean false
'cost' => string '50' (length=2)
'customer_id' => int 0
'date_created' => int 1641082893
'date_modified' => int 1641834135
'end' => int 1641834000
'google_calendar_event_id' => string '0' (length=1)
'order_id' => int 8907
'order_item_id' => int 21
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 8810
'resource_id' => int 0
'start' => int 1641819600
'status' => string 'complete' (length=8)
'local_timezone' => string '' (length=0)
protected 'cache_group' => string 'booking' (length=7)
protected 'data_store_name' => string 'booking' (length=7)
protected 'object_type' => string 'booking' (length=7)
protected 'status_transitioned' => boolean false
protected 'start_cached' => null
protected 'end_cached' => null
protected 'id' => int 8906
protected 'changes' =>
array (size=0)
empty
protected 'object_read' => boolean true
protected 'extra_data' =>
array (size=0)
empty
protected 'default_data' =>
array (size=16)
'all_day' => boolean false
'cost' => int 0
'customer_id' => int 0
'date_created' => string '' (length=0)
'date_modified' => string '' (length=0)
'end' => string '' (length=0)
'google_calendar_event_id' => int 0
'order_id' => int 0
'order_item_id' => int 0
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 0
'resource_id' => int 0
'start' => string '' (length=0)
'status' => string 'unpaid' (length=6)
'local_timezone' => string '' (length=0)
protected 'data_store' =>
object(WC_Data_Store)[4146]
private 'instance' =>
object(WC_Booking_Data_Store)[4147]
...
private 'stores' =>
array (size=43)
...
private 'current_class_name' => string 'WC_Booking_Data_Store' (length=21)
private 'object_type' => string 'booking' (length=7)
protected 'meta_data' => null
53 =>
object(WC_Booking)[4129]
protected 'data' =>
array (size=16)
'all_day' => boolean false
'cost' => string '59.99' (length=5)
'customer_id' => int 0
'date_created' => int 1641057964
'date_modified' => int 1641477692
'end' => int 1641477600
'google_calendar_event_id' => string '0' (length=1)
'order_id' => int 8905
'order_item_id' => int 20
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 8466
'resource_id' => int 0
'start' => int 1641466800
'status' => string 'complete' (length=8)
'local_timezone' => string '' (length=0)
protected 'cache_group' => string 'booking' (length=7)
protected 'data_store_name' => string 'booking' (length=7)
protected 'object_type' => string 'booking' (length=7)
protected 'status_transitioned' => boolean false
protected 'start_cached' => null
protected 'end_cached' => null
protected 'id' => int 8904
protected 'changes' =>
array (size=0)
empty
protected 'object_read' => boolean true
protected 'extra_data' =>
array (size=0)
empty
protected 'default_data' =>
array (size=16)
'all_day' => boolean false
'cost' => int 0
'customer_id' => int 0
'date_created' => string '' (length=0)
'date_modified' => string '' (length=0)
'end' => string '' (length=0)
'google_calendar_event_id' => int 0
'order_id' => int 0
'order_item_id' => int 0
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 0
'resource_id' => int 0
'start' => string '' (length=0)
'status' => string 'unpaid' (length=6)
'local_timezone' => string '' (length=0)
protected 'data_store' =>
object(WC_Data_Store)[4151]
private 'instance' =>
object(WC_Booking_Data_Store)[4152]
...
private 'stores' =>
array (size=43)
...
private 'current_class_name' => string 'WC_Booking_Data_Store' (length=21)
private 'object_type' => string 'booking' (length=7)
protected 'meta_data' => null
54 =>
object(WC_Booking)[4148]
protected 'data' =>
array (size=16)
'all_day' => boolean false
'cost' => string '59.99' (length=5)
'customer_id' => int 0
'date_created' => int 1641020400
'date_modified' => int 1641496213
'end' => int 1641218400
'google_calendar_event_id' => string '0' (length=1)
'order_id' => int 8903
'order_item_id' => int 19
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 8466
'resource_id' => int 0
'start' => int 1641207600
'status' => string 'complete' (length=8)
'local_timezone' => string '' (length=0)
protected 'cache_group' => string 'booking' (length=7)
protected 'data_store_name' => string 'booking' (length=7)
protected 'object_type' => string 'booking' (length=7)
protected 'status_transitioned' => boolean false
protected 'start_cached' => null
protected 'end_cached' => null
protected 'id' => int 8902
protected 'changes' =>
array (size=0)
empty
protected 'object_read' => boolean true
protected 'extra_data' =>
array (size=0)
empty
protected 'default_data' =>
array (size=16)
'all_day' => boolean false
'cost' => int 0
'customer_id' => int 0
'date_created' => string '' (length=0)
'date_modified' => string '' (length=0)
'end' => string '' (length=0)
'google_calendar_event_id' => int 0
'order_id' => int 0
'order_item_id' => int 0
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 0
'resource_id' => int 0
'start' => string '' (length=0)
'status' => string 'unpaid' (length=6)
'local_timezone' => string '' (length=0)
protected 'data_store' =>
object(WC_Data_Store)[4155]
private 'instance' =>
object(WC_Booking_Data_Store)[4156]
...
private 'stores' =>
array (size=43)
...
private 'current_class_name' => string 'WC_Booking_Data_Store' (length=21)
private 'object_type' => string 'booking' (length=7)
protected 'meta_data' => null
55 =>
object(WC_Booking)[4145]
protected 'data' =>
array (size=16)
'all_day' => boolean false
'cost' => string '50' (length=2)
'customer_id' => int 0
'date_created' => int 1640931860
'date_modified' => int 1641819666
'end' => int 1641819600
'google_calendar_event_id' => string '0' (length=1)
'order_id' => int 8897
'order_item_id' => int 18
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 8810
'resource_id' => int 0
'start' => int 1641805200
'status' => string 'complete' (length=8)
'local_timezone' => string '' (length=0)
protected 'cache_group' => string 'booking' (length=7)
protected 'data_store_name' => string 'booking' (length=7)
protected 'object_type' => string 'booking' (length=7)
protected 'status_transitioned' => boolean false
protected 'start_cached' => null
protected 'end_cached' => null
protected 'id' => int 8896
protected 'changes' =>
array (size=0)
empty
protected 'object_read' => boolean true
protected 'extra_data' =>
array (size=0)
empty
protected 'default_data' =>
array (size=16)
'all_day' => boolean false
'cost' => int 0
'customer_id' => int 0
'date_created' => string '' (length=0)
'date_modified' => string '' (length=0)
'end' => string '' (length=0)
'google_calendar_event_id' => int 0
'order_id' => int 0
'order_item_id' => int 0
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 0
'resource_id' => int 0
'start' => string '' (length=0)
'status' => string 'unpaid' (length=6)
'local_timezone' => string '' (length=0)
protected 'data_store' =>
object(WC_Data_Store)[4161]
private 'instance' =>
object(WC_Booking_Data_Store)[4162]
...
private 'stores' =>
array (size=43)
...
private 'current_class_name' => string 'WC_Booking_Data_Store' (length=21)
private 'object_type' => string 'booking' (length=7)
protected 'meta_data' => null
56 =>
object(WC_Booking)[4158]
protected 'data' =>
array (size=16)
'all_day' => boolean false
'cost' => string '59.99' (length=5)
'customer_id' => int 0
'date_created' => int 1640743624
'date_modified' => int 1641046983
'end' => int 1641045600
'google_calendar_event_id' => string '0' (length=1)
'order_id' => int 8893
'order_item_id' => int 17
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 8466
'resource_id' => int 0
'start' => int 1641034800
'status' => string 'complete' (length=8)
'local_timezone' => string '' (length=0)
protected 'cache_group' => string 'booking' (length=7)
protected 'data_store_name' => string 'booking' (length=7)
protected 'object_type' => string 'booking' (length=7)
protected 'status_transitioned' => boolean false
protected 'start_cached' => null
protected 'end_cached' => null
protected 'id' => int 8892
protected 'changes' =>
array (size=0)
empty
protected 'object_read' => boolean true
protected 'extra_data' =>
array (size=0)
empty
protected 'default_data' =>
array (size=16)
'all_day' => boolean false
'cost' => int 0
'customer_id' => int 0
'date_created' => string '' (length=0)
'date_modified' => string '' (length=0)
'end' => string '' (length=0)
'google_calendar_event_id' => int 0
'order_id' => int 0
'order_item_id' => int 0
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 0
'resource_id' => int 0
'start' => string '' (length=0)
'status' => string 'unpaid' (length=6)
'local_timezone' => string '' (length=0)
protected 'data_store' =>
object(WC_Data_Store)[4163]
private 'instance' =>
object(WC_Booking_Data_Store)[4164]
...
private 'stores' =>
array (size=43)
...
private 'current_class_name' => string 'WC_Booking_Data_Store' (length=21)
private 'object_type' => string 'booking' (length=7)
protected 'meta_data' => null
57 =>
object(WC_Booking)[3955]
protected 'data' =>
array (size=16)
'all_day' => boolean false
'cost' => string '50' (length=2)
'customer_id' => int 0
'date_created' => int 1640488243
'date_modified' => int 1641834131
'end' => int 1641834000
'google_calendar_event_id' => string '0' (length=1)
'order_id' => int 8885
'order_item_id' => int 16
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 8810
'resource_id' => int 0
'start' => int 1641819600
'status' => string 'complete' (length=8)
'local_timezone' => string '' (length=0)
protected 'cache_group' => string 'booking' (length=7)
protected 'data_store_name' => string 'booking' (length=7)
protected 'object_type' => string 'booking' (length=7)
protected 'status_transitioned' => boolean false
protected 'start_cached' => null
protected 'end_cached' => null
protected 'id' => int 8884
protected 'changes' =>
array (size=0)
empty
protected 'object_read' => boolean true
protected 'extra_data' =>
array (size=0)
empty
protected 'default_data' =>
array (size=16)
'all_day' => boolean false
'cost' => int 0
'customer_id' => int 0
'date_created' => string '' (length=0)
'date_modified' => string '' (length=0)
'end' => string '' (length=0)
'google_calendar_event_id' => int 0
'order_id' => int 0
'order_item_id' => int 0
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 0
'resource_id' => int 0
'start' => string '' (length=0)
'status' => string 'unpaid' (length=6)
'local_timezone' => string '' (length=0)
protected 'data_store' =>
object(WC_Data_Store)[4166]
private 'instance' =>
object(WC_Booking_Data_Store)[4167]
...
private 'stores' =>
array (size=43)
...
private 'current_class_name' => string 'WC_Booking_Data_Store' (length=21)
private 'object_type' => string 'booking' (length=7)
protected 'meta_data' => null
58 =>
object(WC_Booking)[4157]
protected 'data' =>
array (size=16)
'all_day' => boolean false
'cost' => string '50' (length=2)
'customer_id' => int 0
'date_created' => int 1640328220
'date_modified' => int 1640328336
'end' => int 1643029200
'google_calendar_event_id' => string '0' (length=1)
'order_id' => int 8883
'order_item_id' => int 15
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 8812
'resource_id' => int 0
'start' => int 1643014800
'status' => string 'unpaid' (length=6)
'local_timezone' => string '' (length=0)
protected 'cache_group' => string 'booking' (length=7)
protected 'data_store_name' => string 'booking' (length=7)
protected 'object_type' => string 'booking' (length=7)
protected 'status_transitioned' => boolean false
protected 'start_cached' => null
protected 'end_cached' => null
protected 'id' => int 8882
protected 'changes' =>
array (size=0)
empty
protected 'object_read' => boolean true
protected 'extra_data' =>
array (size=0)
empty
protected 'default_data' =>
array (size=16)
'all_day' => boolean false
'cost' => int 0
'customer_id' => int 0
'date_created' => string '' (length=0)
'date_modified' => string '' (length=0)
'end' => string '' (length=0)
'google_calendar_event_id' => int 0
'order_id' => int 0
'order_item_id' => int 0
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 0
'resource_id' => int 0
'start' => string '' (length=0)
'status' => string 'unpaid' (length=6)
'local_timezone' => string '' (length=0)
protected 'data_store' =>
object(WC_Data_Store)[4171]
private 'instance' =>
object(WC_Booking_Data_Store)[4172]
...
private 'stores' =>
array (size=43)
...
private 'current_class_name' => string 'WC_Booking_Data_Store' (length=21)
private 'object_type' => string 'booking' (length=7)
protected 'meta_data' => null
59 =>
object(WC_Booking)[4168]
protected 'data' =>
array (size=16)
'all_day' => boolean false
'cost' => string '50' (length=2)
'customer_id' => int 0
'date_created' => int 1640283957
'date_modified' => int 1640284117
'end' => int 1644253200
'google_calendar_event_id' => string '0' (length=1)
'order_id' => int 8880
'order_item_id' => int 14
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 8813
'resource_id' => int 0
'start' => int 1644238800
'status' => string 'unpaid' (length=6)
'local_timezone' => string '' (length=0)
protected 'cache_group' => string 'booking' (length=7)
protected 'data_store_name' => string 'booking' (length=7)
protected 'object_type' => string 'booking' (length=7)
protected 'status_transitioned' => boolean false
protected 'start_cached' => null
protected 'end_cached' => null
protected 'id' => int 8879
protected 'changes' =>
array (size=0)
empty
protected 'object_read' => boolean true
protected 'extra_data' =>
array (size=0)
empty
protected 'default_data' =>
array (size=16)
'all_day' => boolean false
'cost' => int 0
'customer_id' => int 0
'date_created' => string '' (length=0)
'date_modified' => string '' (length=0)
'end' => string '' (length=0)
'google_calendar_event_id' => int 0
'order_id' => int 0
'order_item_id' => int 0
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 0
'resource_id' => int 0
'start' => string '' (length=0)
'status' => string 'unpaid' (length=6)
'local_timezone' => string '' (length=0)
protected 'data_store' =>
object(WC_Data_Store)[4174]
private 'instance' =>
object(WC_Booking_Data_Store)[4175]
...
private 'stores' =>
array (size=43)
...
private 'current_class_name' => string 'WC_Booking_Data_Store' (length=21)
private 'object_type' => string 'booking' (length=7)
protected 'meta_data' => null
60 =>
object(WC_Booking)[4150]
protected 'data' =>
array (size=16)
'all_day' => boolean false
'cost' => string '59.99' (length=5)
'customer_id' => int 0
'date_created' => int 1640113565
'date_modified' => int 1640790239
'end' => int 1640790000
'google_calendar_event_id' => string '0' (length=1)
'order_id' => int 8877
'order_item_id' => int 13
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 8506
'resource_id' => int 0
'start' => int 1640786400
'status' => string 'complete' (length=8)
'local_timezone' => string '' (length=0)
protected 'cache_group' => string 'booking' (length=7)
protected 'data_store_name' => string 'booking' (length=7)
protected 'object_type' => string 'booking' (length=7)
protected 'status_transitioned' => boolean false
protected 'start_cached' => null
protected 'end_cached' => null
protected 'id' => int 8876
protected 'changes' =>
array (size=0)
empty
protected 'object_read' => boolean true
protected 'extra_data' =>
array (size=0)
empty
protected 'default_data' =>
array (size=16)
'all_day' => boolean false
'cost' => int 0
'customer_id' => int 0
'date_created' => string '' (length=0)
'date_modified' => string '' (length=0)
'end' => string '' (length=0)
'google_calendar_event_id' => int 0
'order_id' => int 0
'order_item_id' => int 0
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 0
'resource_id' => int 0
'start' => string '' (length=0)
'status' => string 'unpaid' (length=6)
'local_timezone' => string '' (length=0)
protected 'data_store' =>
object(WC_Data_Store)[4179]
private 'instance' =>
object(WC_Booking_Data_Store)[4180]
...
private 'stores' =>
array (size=43)
...
private 'current_class_name' => string 'WC_Booking_Data_Store' (length=21)
private 'object_type' => string 'booking' (length=7)
protected 'meta_data' => null
61 =>
object(WC_Booking)[4176]
protected 'data' =>
array (size=16)
'all_day' => boolean false
'cost' => string '50' (length=2)
'customer_id' => int 0
'date_created' => int 1640107318
'date_modified' => int 1640107502
'end' => int 1644238800
'google_calendar_event_id' => string '0' (length=1)
'order_id' => int 8875
'order_item_id' => int 12
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 8813
'resource_id' => int 0
'start' => int 1644224400
'status' => string 'unpaid' (length=6)
'local_timezone' => string '' (length=0)
protected 'cache_group' => string 'booking' (length=7)
protected 'data_store_name' => string 'booking' (length=7)
protected 'object_type' => string 'booking' (length=7)
protected 'status_transitioned' => boolean false
protected 'start_cached' => null
protected 'end_cached' => null
protected 'id' => int 8874
protected 'changes' =>
array (size=0)
empty
protected 'object_read' => boolean true
protected 'extra_data' =>
array (size=0)
empty
protected 'default_data' =>
array (size=16)
'all_day' => boolean false
'cost' => int 0
'customer_id' => int 0
'date_created' => string '' (length=0)
'date_modified' => string '' (length=0)
'end' => string '' (length=0)
'google_calendar_event_id' => int 0
'order_id' => int 0
'order_item_id' => int 0
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 0
'resource_id' => int 0
'start' => string '' (length=0)
'status' => string 'unpaid' (length=6)
'local_timezone' => string '' (length=0)
protected 'data_store' =>
object(WC_Data_Store)[4183]
private 'instance' =>
object(WC_Booking_Data_Store)[4184]
...
private 'stores' =>
array (size=43)
...
private 'current_class_name' => string 'WC_Booking_Data_Store' (length=21)
private 'object_type' => string 'booking' (length=7)
protected 'meta_data' => null
62 =>
object(WC_Booking)[4173]
protected 'data' =>
array (size=16)
'all_day' => boolean false
'cost' => string '50' (length=2)
'customer_id' => int 0
'date_created' => int 1639789622
'date_modified' => int 1639789765
'end' => int 1643043600
'google_calendar_event_id' => string '0' (length=1)
'order_id' => int 8864
'order_item_id' => int 11
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 8812
'resource_id' => int 0
'start' => int 1643029200
'status' => string 'paid' (length=4)
'local_timezone' => string '' (length=0)
protected 'cache_group' => string 'booking' (length=7)
protected 'data_store_name' => string 'booking' (length=7)
protected 'object_type' => string 'booking' (length=7)
protected 'status_transitioned' => boolean false
protected 'start_cached' => null
protected 'end_cached' => null
protected 'id' => int 8863
protected 'changes' =>
array (size=0)
empty
protected 'object_read' => boolean true
protected 'extra_data' =>
array (size=0)
empty
protected 'default_data' =>
array (size=16)
'all_day' => boolean false
'cost' => int 0
'customer_id' => int 0
'date_created' => string '' (length=0)
'date_modified' => string '' (length=0)
'end' => string '' (length=0)
'google_calendar_event_id' => int 0
'order_id' => int 0
'order_item_id' => int 0
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 0
'resource_id' => int 0
'start' => string '' (length=0)
'status' => string 'unpaid' (length=6)
'local_timezone' => string '' (length=0)
protected 'data_store' =>
object(WC_Data_Store)[4187]
private 'instance' =>
object(WC_Booking_Data_Store)[4188]
...
private 'stores' =>
array (size=43)
...
private 'current_class_name' => string 'WC_Booking_Data_Store' (length=21)
private 'object_type' => string 'booking' (length=7)
protected 'meta_data' => null
63 =>
object(WC_Booking)[4178]
protected 'data' =>
array (size=16)
'all_day' => boolean false
'cost' => string '50' (length=2)
'customer_id' => int 0
'date_created' => int 1639774575
'date_modified' => int 1639774684
'end' => int 1643029200
'google_calendar_event_id' => string '0' (length=1)
'order_id' => int 8862
'order_item_id' => int 10
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 8812
'resource_id' => int 0
'start' => int 1643014800
'status' => string 'unpaid' (length=6)
'local_timezone' => string '' (length=0)
protected 'cache_group' => string 'booking' (length=7)
protected 'data_store_name' => string 'booking' (length=7)
protected 'object_type' => string 'booking' (length=7)
protected 'status_transitioned' => boolean false
protected 'start_cached' => null
protected 'end_cached' => null
protected 'id' => int 8861
protected 'changes' =>
array (size=0)
empty
protected 'object_read' => boolean true
protected 'extra_data' =>
array (size=0)
empty
protected 'default_data' =>
array (size=16)
'all_day' => boolean false
'cost' => int 0
'customer_id' => int 0
'date_created' => string '' (length=0)
'date_modified' => string '' (length=0)
'end' => string '' (length=0)
'google_calendar_event_id' => int 0
'order_id' => int 0
'order_item_id' => int 0
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 0
'resource_id' => int 0
'start' => string '' (length=0)
'status' => string 'unpaid' (length=6)
'local_timezone' => string '' (length=0)
protected 'data_store' =>
object(WC_Data_Store)[4190]
private 'instance' =>
object(WC_Booking_Data_Store)[4191]
...
private 'stores' =>
array (size=43)
...
private 'current_class_name' => string 'WC_Booking_Data_Store' (length=21)
private 'object_type' => string 'booking' (length=7)
protected 'meta_data' => null
64 =>
object(WC_Booking)[4142]
protected 'data' =>
array (size=16)
'all_day' => boolean false
'cost' => string '50' (length=2)
'customer_id' => int 0
'date_created' => int 1639622014
'date_modified' => int 1639622155
'end' => int 1644238800
'google_calendar_event_id' => string '0' (length=1)
'order_id' => int 8860
'order_item_id' => int 9
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 8813
'resource_id' => int 0
'start' => int 1644224400
'status' => string 'paid' (length=4)
'local_timezone' => string '' (length=0)
protected 'cache_group' => string 'booking' (length=7)
protected 'data_store_name' => string 'booking' (length=7)
protected 'object_type' => string 'booking' (length=7)
protected 'status_transitioned' => boolean false
protected 'start_cached' => null
protected 'end_cached' => null
protected 'id' => int 8859
protected 'changes' =>
array (size=0)
empty
protected 'object_read' => boolean true
protected 'extra_data' =>
array (size=0)
empty
protected 'default_data' =>
array (size=16)
'all_day' => boolean false
'cost' => int 0
'customer_id' => int 0
'date_created' => string '' (length=0)
'date_modified' => string '' (length=0)
'end' => string '' (length=0)
'google_calendar_event_id' => int 0
'order_id' => int 0
'order_item_id' => int 0
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 0
'resource_id' => int 0
'start' => string '' (length=0)
'status' => string 'unpaid' (length=6)
'local_timezone' => string '' (length=0)
protected 'data_store' =>
object(WC_Data_Store)[4194]
private 'instance' =>
object(WC_Booking_Data_Store)[4195]
...
private 'stores' =>
array (size=43)
...
private 'current_class_name' => string 'WC_Booking_Data_Store' (length=21)
private 'object_type' => string 'booking' (length=7)
protected 'meta_data' => null
65 =>
object(WC_Booking)[4186]
protected 'data' =>
array (size=16)
'all_day' => boolean false
'cost' => string '50' (length=2)
'customer_id' => int 0
'date_created' => int 1639606129
'date_modified' => int 1641819662
'end' => int 1641819600
'google_calendar_event_id' => string '0' (length=1)
'order_id' => int 8857
'order_item_id' => int 8
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 8810
'resource_id' => int 0
'start' => int 1641805200
'status' => string 'complete' (length=8)
'local_timezone' => string '' (length=0)
protected 'cache_group' => string 'booking' (length=7)
protected 'data_store_name' => string 'booking' (length=7)
protected 'object_type' => string 'booking' (length=7)
protected 'status_transitioned' => boolean false
protected 'start_cached' => null
protected 'end_cached' => null
protected 'id' => int 8856
protected 'changes' =>
array (size=0)
empty
protected 'object_read' => boolean true
protected 'extra_data' =>
array (size=0)
empty
protected 'default_data' =>
array (size=16)
'all_day' => boolean false
'cost' => int 0
'customer_id' => int 0
'date_created' => string '' (length=0)
'date_modified' => string '' (length=0)
'end' => string '' (length=0)
'google_calendar_event_id' => int 0
'order_id' => int 0
'order_item_id' => int 0
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 0
'resource_id' => int 0
'start' => string '' (length=0)
'status' => string 'unpaid' (length=6)
'local_timezone' => string '' (length=0)
protected 'data_store' =>
object(WC_Data_Store)[4198]
private 'instance' =>
object(WC_Booking_Data_Store)[4199]
...
private 'stores' =>
array (size=43)
...
private 'current_class_name' => string 'WC_Booking_Data_Store' (length=21)
private 'object_type' => string 'booking' (length=7)
protected 'meta_data' => null
66 =>
object(WC_Booking)[4189]
protected 'data' =>
array (size=16)
'all_day' => boolean false
'cost' => string '50' (length=2)
'customer_id' => int 0
'date_created' => int 1639592483
'date_modified' => int 1639592612
'end' => int 1643029200
'google_calendar_event_id' => string '0' (length=1)
'order_id' => int 8851
'order_item_id' => int 7
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 8812
'resource_id' => int 0
'start' => int 1643014800
'status' => string 'unpaid' (length=6)
'local_timezone' => string '' (length=0)
protected 'cache_group' => string 'booking' (length=7)
protected 'data_store_name' => string 'booking' (length=7)
protected 'object_type' => string 'booking' (length=7)
protected 'status_transitioned' => boolean false
protected 'start_cached' => null
protected 'end_cached' => null
protected 'id' => int 8850
protected 'changes' =>
array (size=0)
empty
protected 'object_read' => boolean true
protected 'extra_data' =>
array (size=0)
empty
protected 'default_data' =>
array (size=16)
'all_day' => boolean false
'cost' => int 0
'customer_id' => int 0
'date_created' => string '' (length=0)
'date_modified' => string '' (length=0)
'end' => string '' (length=0)
'google_calendar_event_id' => int 0
'order_id' => int 0
'order_item_id' => int 0
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 0
'resource_id' => int 0
'start' => string '' (length=0)
'status' => string 'unpaid' (length=6)
'local_timezone' => string '' (length=0)
protected 'data_store' =>
object(WC_Data_Store)[4203]
private 'instance' =>
object(WC_Booking_Data_Store)[4204]
...
private 'stores' =>
array (size=43)
...
private 'current_class_name' => string 'WC_Booking_Data_Store' (length=21)
private 'object_type' => string 'booking' (length=7)
protected 'meta_data' => null
67 =>
object(WC_Booking)[4200]
protected 'data' =>
array (size=16)
'all_day' => boolean false
'cost' => string '59.99' (length=5)
'customer_id' => int 0
'date_created' => int 1639526460
'date_modified' => int 1639774241
'end' => int 1644235200
'google_calendar_event_id' => string '0' (length=1)
'order_id' => int 8846
'order_item_id' => int 6
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 8813
'resource_id' => int 0
'start' => int 1644224400
'status' => string 'paid' (length=4)
'local_timezone' => string '' (length=0)
protected 'cache_group' => string 'booking' (length=7)
protected 'data_store_name' => string 'booking' (length=7)
protected 'object_type' => string 'booking' (length=7)
protected 'status_transitioned' => boolean false
protected 'start_cached' => null
protected 'end_cached' => null
protected 'id' => int 8845
protected 'changes' =>
array (size=0)
empty
protected 'object_read' => boolean true
protected 'extra_data' =>
array (size=0)
empty
protected 'default_data' =>
array (size=16)
'all_day' => boolean false
'cost' => int 0
'customer_id' => int 0
'date_created' => string '' (length=0)
'date_modified' => string '' (length=0)
'end' => string '' (length=0)
'google_calendar_event_id' => int 0
'order_id' => int 0
'order_item_id' => int 0
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 0
'resource_id' => int 0
'start' => string '' (length=0)
'status' => string 'unpaid' (length=6)
'local_timezone' => string '' (length=0)
protected 'data_store' =>
object(WC_Data_Store)[4206]
private 'instance' =>
object(WC_Booking_Data_Store)[4207]
...
private 'stores' =>
array (size=43)
...
private 'current_class_name' => string 'WC_Booking_Data_Store' (length=21)
private 'object_type' => string 'booking' (length=7)
protected 'meta_data' => null
68 =>
object(WC_Booking)[4109]
protected 'data' =>
array (size=16)
'all_day' => boolean false
'cost' => string '50' (length=2)
'customer_id' => int 0
'date_created' => int 1639511271
'date_modified' => int 1639511519
'end' => int 1643043600
'google_calendar_event_id' => string '0' (length=1)
'order_id' => int 8841
'order_item_id' => int 5
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 8812
'resource_id' => int 0
'start' => int 1643029200
'status' => string 'paid' (length=4)
'local_timezone' => string '' (length=0)
protected 'cache_group' => string 'booking' (length=7)
protected 'data_store_name' => string 'booking' (length=7)
protected 'object_type' => string 'booking' (length=7)
protected 'status_transitioned' => boolean false
protected 'start_cached' => null
protected 'end_cached' => null
protected 'id' => int 8840
protected 'changes' =>
array (size=0)
empty
protected 'object_read' => boolean true
protected 'extra_data' =>
array (size=0)
empty
protected 'default_data' =>
array (size=16)
'all_day' => boolean false
'cost' => int 0
'customer_id' => int 0
'date_created' => string '' (length=0)
'date_modified' => string '' (length=0)
'end' => string '' (length=0)
'google_calendar_event_id' => int 0
'order_id' => int 0
'order_item_id' => int 0
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 0
'resource_id' => int 0
'start' => string '' (length=0)
'status' => string 'unpaid' (length=6)
'local_timezone' => string '' (length=0)
protected 'data_store' =>
object(WC_Data_Store)[4213]
private 'instance' =>
object(WC_Booking_Data_Store)[4214]
...
private 'stores' =>
array (size=43)
...
private 'current_class_name' => string 'WC_Booking_Data_Store' (length=21)
private 'object_type' => string 'booking' (length=7)
protected 'meta_data' => null
69 =>
object(WC_Booking)[4210]
protected 'data' =>
array (size=16)
'all_day' => boolean false
'cost' => string '50' (length=2)
'customer_id' => int 0
'date_created' => int 1639508640
'date_modified' => int 1641816246
'end' => int 1641816000
'google_calendar_event_id' => string '0' (length=1)
'order_id' => int 8836
'order_item_id' => int 3
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 8810
'resource_id' => int 0
'start' => int 1641805200
'status' => string 'complete' (length=8)
'local_timezone' => string '' (length=0)
protected 'cache_group' => string 'booking' (length=7)
protected 'data_store_name' => string 'booking' (length=7)
protected 'object_type' => string 'booking' (length=7)
protected 'status_transitioned' => boolean false
protected 'start_cached' => null
protected 'end_cached' => null
protected 'id' => int 8835
protected 'changes' =>
array (size=0)
empty
protected 'object_read' => boolean true
protected 'extra_data' =>
array (size=0)
empty
protected 'default_data' =>
array (size=16)
'all_day' => boolean false
'cost' => int 0
'customer_id' => int 0
'date_created' => string '' (length=0)
'date_modified' => string '' (length=0)
'end' => string '' (length=0)
'google_calendar_event_id' => int 0
'order_id' => int 0
'order_item_id' => int 0
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 0
'resource_id' => int 0
'start' => string '' (length=0)
'status' => string 'unpaid' (length=6)
'local_timezone' => string '' (length=0)
protected 'data_store' =>
object(WC_Data_Store)[4205]
private 'instance' =>
object(WC_Booking_Data_Store)[4215]
...
private 'stores' =>
array (size=43)
...
private 'current_class_name' => string 'WC_Booking_Data_Store' (length=21)
private 'object_type' => string 'booking' (length=7)
protected 'meta_data' => null
70 =>
object(WC_Booking)[3985]
protected 'data' =>
array (size=16)
'all_day' => boolean false
'cost' => string '59.99' (length=5)
'customer_id' => int 0
'date_created' => int 1639471421
'date_modified' => int 1639471421
'end' => int 1639836000
'google_calendar_event_id' => string '0' (length=1)
'order_id' => int 8832
'order_item_id' => int 2
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 8466
'resource_id' => int 0
'start' => int 1639825200
'status' => string 'unpaid' (length=6)
'local_timezone' => string '' (length=0)
protected 'cache_group' => string 'booking' (length=7)
protected 'data_store_name' => string 'booking' (length=7)
protected 'object_type' => string 'booking' (length=7)
protected 'status_transitioned' => boolean false
protected 'start_cached' => null
protected 'end_cached' => null
protected 'id' => int 8833
protected 'changes' =>
array (size=0)
empty
protected 'object_read' => boolean true
protected 'extra_data' =>
array (size=0)
empty
protected 'default_data' =>
array (size=16)
'all_day' => boolean false
'cost' => int 0
'customer_id' => int 0
'date_created' => string '' (length=0)
'date_modified' => string '' (length=0)
'end' => string '' (length=0)
'google_calendar_event_id' => int 0
'order_id' => int 0
'order_item_id' => int 0
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 0
'resource_id' => int 0
'start' => string '' (length=0)
'status' => string 'unpaid' (length=6)
'local_timezone' => string '' (length=0)
protected 'data_store' =>
object(WC_Data_Store)[4221]
private 'instance' =>
object(WC_Booking_Data_Store)[4222]
...
private 'stores' =>
array (size=43)
...
private 'current_class_name' => string 'WC_Booking_Data_Store' (length=21)
private 'object_type' => string 'booking' (length=7)
protected 'meta_data' => null
71 =>
object(WC_Booking)[4218]
protected 'data' =>
array (size=16)
'all_day' => boolean false
'cost' => string '79.99' (length=5)
'customer_id' => int 0
'date_created' => int 1638558764
'date_modified' => int 1638558810
'end' => int 1639598400
'google_calendar_event_id' => string '0' (length=1)
'order_id' => int 8772
'order_item_id' => int 1
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 8510
'resource_id' => int 0
'start' => int 1639584000
'status' => string 'pending-confirmation' (length=20)
'local_timezone' => string '' (length=0)
protected 'cache_group' => string 'booking' (length=7)
protected 'data_store_name' => string 'booking' (length=7)
protected 'object_type' => string 'booking' (length=7)
protected 'status_transitioned' => boolean false
protected 'start_cached' => null
protected 'end_cached' => null
protected 'id' => int 8771
protected 'changes' =>
array (size=0)
empty
protected 'object_read' => boolean true
protected 'extra_data' =>
array (size=0)
empty
protected 'default_data' =>
array (size=16)
'all_day' => boolean false
'cost' => int 0
'customer_id' => int 0
'date_created' => string '' (length=0)
'date_modified' => string '' (length=0)
'end' => string '' (length=0)
'google_calendar_event_id' => int 0
'order_id' => int 0
'order_item_id' => int 0
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 0
'resource_id' => int 0
'start' => string '' (length=0)
'status' => string 'unpaid' (length=6)
'local_timezone' => string '' (length=0)
protected 'data_store' =>
object(WC_Data_Store)[4223]
private 'instance' =>
object(WC_Booking_Data_Store)[4224]
...
private 'stores' =>
array (size=43)
...
private 'current_class_name' => string 'WC_Booking_Data_Store' (length=21)
private 'object_type' => string 'booking' (length=7)
protected 'meta_data' => null
72 =>
object(WC_Booking)[3946]
protected 'data' =>
array (size=16)
'all_day' => boolean false
'cost' => string '79.99' (length=5)
'customer_id' => int 0
'date_created' => int 1637449260
'date_modified' => int 1637784093
'end' => int 1637784000
'google_calendar_event_id' => string '0' (length=1)
'order_id' => int 0
'order_item_id' => int 0
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 8510
'resource_id' => int 0
'start' => int 1637769600
'status' => string 'complete' (length=8)
'local_timezone' => string '' (length=0)
protected 'cache_group' => string 'booking' (length=7)
protected 'data_store_name' => string 'booking' (length=7)
protected 'object_type' => string 'booking' (length=7)
protected 'status_transitioned' => boolean false
protected 'start_cached' => null
protected 'end_cached' => null
protected 'id' => int 8659
protected 'changes' =>
array (size=0)
empty
protected 'object_read' => boolean true
protected 'extra_data' =>
array (size=0)
empty
protected 'default_data' =>
array (size=16)
'all_day' => boolean false
'cost' => int 0
'customer_id' => int 0
'date_created' => string '' (length=0)
'date_modified' => string '' (length=0)
'end' => string '' (length=0)
'google_calendar_event_id' => int 0
'order_id' => int 0
'order_item_id' => int 0
'parent_id' => int 0
'person_counts' =>
array (size=0)
...
'product_id' => int 0
'resource_id' => int 0
'start' => string '' (length=0)
'status' => string 'unpaid' (length=6)
'local_timezone' => string '' (length=0)
protected 'data_store' =>
object(WC_Data_Store)[4227]
private 'instance' =>
object(WC_Booking_Data_Store)[4228]
...
private 'stores' =>
array (size=43)
...
private 'current_class_name' => string 'WC_Booking_Data_Store' (length=21)
private 'object_type' => string 'booking' (length=7)
protected 'meta_data' => null
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment