/** * @article Front-end file uploads in * WordPress * * @since July 3, 2010 * @package Wordpress * * @tags attachments, * upload handling * @comments 73 comments * */
I was recently working on a WordPress project that required a specialized front-end panel for users to add new posts, including images and videos. Adding a post wasn’t a challenge, but handling file uploads was looking like a pain… at least trying to follow the codex documentation. After browsing the wp-includes core files for a few hours, though, I found a much easier way of handling it.