| 开发者 | sportstatswp |
|---|---|
| 更新时间 | 2026年10月13日 23:56 |
| PHP版本: | 8.1 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
[stayhatch_booking].
For developers
Add-ons load on the stayhatch_booking_loaded action. Other extension points: stayhatch_reconcile (runs every 15 minutes), stayhatch_compose_mail, stayhatch_mail_kinds, stayhatch_mail_job_stale, stayhatch_owner_event_titles, stayhatch_booking_panels, stayhatch_booking_list_note, stayhatch_guard_edit, stayhatch_privacy_retain, stayhatch_mail_queue_ids and stayhatch_client_ip (the visitor address used for rate limiting behind a proxy).
External services
iCalendar imports are optional. When an administrator adds a feed, WordPress requests that exact HTTPS URL and stores unavailable dates, event identifiers, feed name, unit mapping, fetch time, and errors. Data use is governed by the selected calendar provider's terms and privacy policy.
Cloudflare Turnstile is optional and off by default. When an administrator defines STAYHATCH_TURNSTILE_SITE_KEY and STAYHATCH_TURNSTILE_SECRET, the booking form loads Cloudflare's challenge script and the server sends the challenge token and the visitor's IP address to Cloudflare to verify the request. Terms and privacy information: https://www.cloudflare.com/website-terms/ and https://www.cloudflare.com/privacypolicy/
The plugin itself does not contact Stayhatch or require a Stayhatch account.
[stayhatch_booking] shortcode to a page.Not with this plugin alone. It sends your manual payment instructions, such as bank transfer details. Card payments through Stripe Checkout are provided by the Stayhatch Booking Pro add-on; card details are then entered on Stripe-hosted Checkout and never stored in WordPress.
Online requests are limited to a configurable maximum number of nights, rate-limited per visitor, and not exported to other channels until reviewed (unless you choose otherwise). Cloudflare Turnstile can be enabled for additional protection.
Version 1.0 imports and exports standard iCalendar availability. It does not implement Booking.com's Connectivity APIs.
No. Feeds are polled every 15 minutes when WordPress cron runs, and source channels may publish updates later. Operators should monitor sync status and use an appropriate buffer.
Data is retained by default. An administrator can explicitly enable permanent removal before deleting the plugin.
stayhatch_client_ip filter for sites behind a proxy.crypto.randomUUID.