iis7_save_url_rewrite_rules()
iis7_save_url_rewrite_rules()
更新IISweb.config配置如果文件是可写的,则使用当前规则。
Updates the IIS web.config file with the current rules if it is writable.
说明(Description)
如果永久链接不需要重写规则,则从web.config配置文件。
返回(Return)
(bool|null)写成功时为True,写失败时为false。多站点中为空。
源码(Source)
更新版本 | 源码位置 | 使用 | 被使用 |
---|---|---|---|
2.8.0 | wp-admin/includes/misc.php:286 | 1 function | 8 |
iis7_save_url_rewrite_rules() 为WP2原创文章,链接:https://www.wp2.cn/functions/iis7_save_url_rewrite_rules/