I am using Bookly plugin on a multisite install.
I need a script to check if there is a booking made by a user on numerous subsites of wordpress and if so to create a link to that subsite in the main database.
To explain further...
If a new user makes a booking on any subsite it works perfectly fine.
If that same user (logged in to WP) then makes another booking on a different subsite it doesn't create a link to that subsite in the database.
Bookly does somehow store this data though because the booking is created for the customer, but just the link to the subsite is missing.
I need a script to either create that link at the point of making the booking,
a script to run using cron (says hourly) that checks for these relationships if they exist and then create that link if it does.
Hope that makes sense.