Wordpress: modifying uploads

By admin • Apr 16th, 2008 • Category: Uncategorized

If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!

I’ve been working for a while to figure out how to modifiy the way wordpress handles uploads.  If your trying to make changes in the actual upload process open file.php in the wordpress wp-includes folder.

the function you’ll need to make changes to is wp_handle_upload

for anyone wondering why you would ever want to modify uploads heres a few examples of why I do.

Ex 1: wordpress admin runs on a different server than wordpress, whenever an upload is made it should also be sent to the live server ( yes there are other hacks involved)

ex 2: wordpress is a subsystem of a larger system, so at upload you need to make sure the ain system tracks those changes.

hapy hacking - Sid

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
Tagged as: ,

admin is
Email this author | All posts by admin

Leave a Reply

Comment spam protected by SpamBam