wp_filesystem


wp_filesystem ( $args = false, $context = false, $allow_relaxed_file_ownership = false )

Parameters:
  • (array|bool) args Optional. Connection args, These are passed directly to the `WP_Filesystem_*()` classes. Default false.
  • (string|bool) context Optional. Context for get_filesystem_method(). Default false.
  • (bool) allow_relaxed_file_ownership Optional. Whether to allow Group/World writable. Default false.
Returns:
  • (bool|null) True on success, false on failure, null if the filesystem method class file does not exist.
Defined at:

Description

Initializes and connects the WordPress Filesystem Abstraction classes.This function will include the chosen transport and attempt connecting. Plugins may add extra transports, And force WordPress to use them by returning the filename via the Array filter.

Related Functions

wp_is_stream, get_filesystem_method, wp_title_rss, wp_check_filetype, wp_list_filter

Top Google Results

User discussions

wpseek mobile