过滤是否允许文件修改。
原型
apply_filters( 'file_mod_allowed', bool $file_mod_allowed, string $context )
参数
$file_mod_allowed
(bool)
是否允许文件修改。
$context
(string)
使用上下文。
源文件
路径:wp-includes/load.php
其他
英文文档:https://developer.wordpress.org/reference/hooks/file_mod_allowed/