Wordpress 钩子:filesystem_method
文章目录
过滤要使用的文件系统方法。
原型
apply_filters( 'filesystem_method', string $method, array $args, string $context, bool $allow_relaxed_file_ownership )
参数
$method
(string)
要返回的文件系统方法。
$args
(array)
该方法的一组连接详细信息。
$context
(string)
被测试为可写的目录的完整路径。
$allow_relaxed_file_ownership
(bool)
是否允许Group / World可写。
源文件
路径:wp-admin/includes/file.php
其他
英文文档:https://developer.wordpress.org/reference/hooks/filesystem_method/
文章作者 iBllex
上次更新 2019-02-18