
Hero banner widget (light theme) — Outstation tab
MYF Fleet Booking Widget adds a self-contained cab-booking widget to any page or post. Visitors search live fares and confirm bookings across four service types:
Key features:
[myfboen_booking] shortcode or the “MYF Fleet Booking Widget” Gutenberg blockYou need an active MYF Fleet API account (token + security salt) to search fares and take bookings. Without credentials configured, the widget shows a setup notice to administrators instead of rendering.
This plugin connects to two external services:
Used to search available cabs and confirm bookings. Requests are made server-side from your WordPress install; data sent includes the pickup/drop coordinates, travel date/time, and — for bookings — the traveller’s name, mobile number and email address.
All calls are proxied through WordPress; your MYF token and salt never leave the server.
.../marketplace/search, booking: .../marketplace/booking)Used for location autocomplete in the booking form. The Google Maps JavaScript library is loaded in the visitor’s browser only when a Google Maps API key has been entered in the plugin settings; the key itself is passed to the browser to initialise the Places library.