Skip to main content

How it works

This page is the mental model for the whole plugin: where data lives, how it moves, and what visitors experience.

Flow overview diagram


End-to-end flow

  1. Sync pulls inventory from the provider API and creates or updates Units in WordPress.
  2. Shortcodes render search UI, dates, prices, and booking widgets on your pages.
  3. When dates are complete in the URL, the plugin requests a quote from the API (with short-term caching).
  4. Checkout sends the visitor to the provider’s booking website (Engine) with the right stay parameters—not WordPress checkout.

Single unit page (typical)

Auto-appended booking UI on singular units follows similar logic; you can also place shortcodes manually.