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

wp_tempnam

Returns a filename of a Temporary unique file.Please note that the calling function must unlink() this itself.

4159

Continue reading

wp_handle_sideload

Handle sideloads, which is the process of retrieving a media item from another server instead of a traditional media upload. This process involves sanitizing the filename, checking extensions for mime type, and moving the file to the appropriate directory within the uploads directory.

3755

Continue reading

WP_Filesystem

Initialises and connects the WordPress Filesystem Abstraction classes.This function will include the chosen transport and attempt connecting.

3651

Continue reading

validate_file_to_edit

Make sure that the file that was requested to edit, is allowed to be editedFunction will die if if you are not allowed to edit the file

3325

Continue reading