| 开发者 | benkalsky |
|---|---|
| 更新时间 | 2026年10月14日 08:39 |
| PHP版本: | 7.2 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
digitizer_shabbat_keeper_purge action. A small script in each page also reloads it once a closure has started or ended, so a copy that a cache kept too long corrects itself.digitizer_shabbat_keeper_purge (action) - fires whenever cached pages should be thrown away: at each transition, after a settings save, on activation and deactivation.digitizer_shabbat_keeper_transition (action) - fires at each transition with one argument, whether the site is now closed.digitizer_shabbat_keeper_exempt (filter) - who is never blocked. Administrators by default.digitizer_shabbat_keeper_refuse (filter) - whether purchases and forms are refused in the current request. Never in WP-Cron, WP-CLI or wp-admin screens by default, so a shop manager can still build an order by hand.It is not built for it. Outside Israel most holidays last two days and this plugin closes for one; its cities and its clock are Israel's. Custom coordinates are limited to Israel for the same reason.
No. Sunset and the Hebrew calendar are computed inside the plugin. It contacts no service and loads nothing from another site.
The closed page answers with HTTP 503 and a Retry-After header naming the end of the closure. That is the standard way to tell a search engine that a site is temporarily unavailable and should be visited again later.
Yes. Users who can manage options are never blocked, and wp-admin, the REST API and WP-CLI are left alone.
Tell the CDN to purge when the digitizer_shabbat_keeper_purge action fires. Without that, the script in each page reloads it once the closure has started, and the reloaded request reaches your server. Purchases and forms are refused by the server in any case, however old the page a visitor is looking at.
It cannot be completed until the site reopens: checkout is refused on the server, and so is payment for an order that already exists.
No. It closes for Shabbat and for the holidays on which work is forbidden.
Not unless you switch one on. The setting is under "Closed page", and it is off by default.
Nothing. Deleting the plugin removes its one option and its one scheduled event, on every site of a network.