1. 首页
  2. WordPress钩子手册

file_mod_allowed

apply_filters( ‘file_mod_allowed’, bool $file_mod_allowed, string $context )

过滤器::过滤是否允许修改文件。
Filter Hook: Filters whether file modifications are allowed.

目录锚点:#参数#源码


参数(Parameters)

参数 类型 说明
$file_mod_allowed (bool) 是否允许修改文件。
$context (string) 使用上下文。

源码(Source)


更新版本 源码位置 使用 被使用
4.8.0 wp-includes/load.php:1438 1 0

file_mod_allowed 为WP2原创文章,链接:https://www.wp2.cn/hook/file_mod_allowed/