wpseek.com
WordPress开发者和主题制作者的搜索引擎
request_filesystem_credentials › WordPress过滤钩子
Since4.6.0
已弃用n/a
› apply_filters( 'request_filesystem_credentials', '', $form_post, $type, $error, $context, $extra_fields, $allow_relaxed_file_ownership )
参数: (7) |
|
定义在: |
|
文档: |
Filters the filesystem credentials.
Returning anything other than an empty string will effectively short-circuit output of the filesystem credentials form, returning that value instead.
A filter should return true if no filesystem credentials are required, false if they are required but have not been provided, or an array of credentials if they are required and have been provided.
Related Functions: request_filesystem_credentials, wp_print_request_filesystem_credentials_modal, get_filesystem_method, rest_api_register_rewrites, get_registered_settings, _wp_privacy_requests_screen_options
Related Hooks: filesystem_method_file, rest_delete_comment, filesystem_method, rest_insert_comment, site_details