", for hero image variations * location_address string may be '' * timezone string the zone booking_start/booking_end are in * price float|null total for the booking * persons int * meeting_url string web meeting link, may be '' * provider_name string staff member, may be '' * location_name string may be '' * booking_start string 'Y-m-d H:i:s' in site time, or null * booking_end string 'Y-m-d H:i:s' in site time, or null * booking_id int also used as the barcode value */ public function find_booking($booking_id, $token); /** * Recent bookings for the admin list, newest first. * * Admin-side only — the caller has already checked manage_options, so no token is * involved. Returns the same normalised shape as find_booking(), minus the token. * * @param int $limit * @param int $offset * @param string $search Optional free text; matches customer name, email, service * or booking id. Empty returns everything. * @return array[] */ public function list_bookings($limit, $offset, $search = ''); /** * Total bookings, for paging the admin list. * * @param string $search Same filter as list_bookings(), so the pager counts the * filtered set rather than the whole table. */ public function count_bookings($search = ''); }