Skip to content

Instantly share code, notes, and snippets.

@LaxusCroco
Created March 6, 2024 12:21
Show Gist options
  • Save LaxusCroco/62bc13175ef4ce25baaa672dce2d0ffc to your computer and use it in GitHub Desktop.
Save LaxusCroco/62bc13175ef4ce25baaa672dce2d0ffc to your computer and use it in GitHub Desktop.
<?php
add_filter( 'jet-booking/ical/import/node', function( $import_node, $node, $calendar_object ) {
$import_node['check_out_date'] = $import_node['check_out_date'] + 86400;
return $import_node;
}, 0, 3 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment