Archive | Functions RSS feed for this section

update_attached_file

Update attachment file path based on attachment ID.Used to update the file path of the attachment, which uses post meta name ‘_wp_attached_file’ to store the path of the attachment.

3153

Continue reading

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