filesystem_method_file

过滤钩子


apply_filters( 'filesystem_method_file', ABSPATH . 'wp-admin/includes/class-wp-filesystem-' . $method . '.php', $method )
参数
  • (string)
    $path
    Path to the specific filesystem method class file.
    Required:
  • (string)
    $method
    The filesystem method to use.
    Required:
定义位置
  • wp-admin/includes/file.php
    , line 1994
引入
2.6.0
弃用

Filters the path for a specific filesystem method class file.

$abstraction_file = apply_filters( 'filesystem_method_file', ABSPATH . 'wp-admin/includes/class-wp-filesystem-' . $method . '.php', $method );