Simple WP filter to modify media upload directory

See the snippet below. You can also get very fancy and program in your own variable folder name to split your media library into other non-date categories (since chronological sorting is a default feature) and, maybe, sort them into category or tag-based folders. Pretty neat.

I you’re on certain shared hosting environments you may run into trouble getting directories that aren’t subs of the “/sites/” folder to work properly because of permissions imposed and enforced by your host.