Sync Google Calendar with unpaid appointments
<?php
//* Do NOT include the opening php tag, only copy the code below to functions.php file
add_filter( 'woocommerce_appointments_gcal_sync_statuses', 'gcal_sync_unpaid_statuse' );
function gcal_sync_unpaid_statuse( $sync_statuses ) {
//* Sync with unpaid appointments
array_push( $sync_statuses, 'unpaid' );
return $sync_statuses;
}