Archive | /wp-admin/includes/file.php RSS feed for this section

unzip_file

Unzips a specified ZIP file to a location on the Filesystem via the WordPress Filesystem Abstraction.Assumes that WP_Filesystem() has already been called and set up. Does not extract a root-level __MACOSX directory, if present.

3149

Continue reading

request_filesystem_credentials

Displays a form to the user to request for their FTP/SSH details in order to connect to the filesystem.All chosen/entered details are saved, Excluding the Password.

2733

Continue reading

list_files

Returns a listing of all files in the specified folder and all subdirectories up to 100 levels deep.The depth of the recursiveness can be controlled by the $levels param.

2271

Continue reading

get_temp_dir

Determines a writable directory for temporary files.Function’s preference is to WP_CONTENT_DIR followed by the return value of

1745

Continue reading

get_real_file_to_edit

Get the real file system path to a file to edit within the adminIf the $file is index.php or .htaccess this function will assume it is relative to the install root, otherwise it is assumed the file is relative to the wp-content directory

1657

Continue reading