过滤是否应在请求时执行“硬”重写规则刷新。
原型
apply_filters( 'flush_rewrite_rules_hard', bool $hard )
描述
“硬”刷新更新.htaccess(Apache)或web.config(IIS)。
参数
$hard
(bool)
是否刷新重写规则“很难”。默认为true。
源文件
路径:wp-includes/class-wp-rewrite.php
其他
英文文档:https://developer.wordpress.org/reference/hooks/flush_rewrite_rules_hard/