开发者 |
hchouhan
themeist |
---|---|
更新时间 | 2025年10月7日 18:05 |
捐献地址: | 去捐款 |
PHP版本: | 7.4 及以上 |
WordPress版本: | 6.8 |
版权: | GPL-3.0 |
版权网址: | 版权信息 |
Yes — use any page built with the Block Editor, Classic Editor, or a page builder.
Yes. Logged-in users with the required capability (default: manage_options
) bypass Build Mode.
No. Build Mode sends proper HTTP 503 + Retry-After
headers (default: 24 hours) to signal temporary downtime.
By default, only Administrators can toggle it. Developers can change this using the build_mode_capability
filter.
Yes, Build Mode provides two filters.
build_mode_capability
— Change the capability required to manage Build Mode.
Example (allow Editors):build_mode_retry_after
— Control the Retry-After header value (in seconds).
Default is 24 hours (DAY_IN_SECONDS
). Example (set to 1 hour):
add_filter( 'build_mode_retry_after', function () {
return HOUR_IN_SECONDS;
} );
You can ask your question in the WordPress.org Support Forum