WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Change upload directory for wp_handle_upload (2 posts)

  1. borantula
    Member
    Posted 2 years ago #

    Hello,

    I'm using custom uploader for a part of my site. It uses wp_handle_upload function and saves files somewhere in uploads dir. Everything is fine till that moment but I want to upload files somewhere outside uploads directory, for example /wp-content/mylovelyfiles. Is there a hook for this?

  2. borantula
    Member
    Posted 2 years ago #

    ok, solved it!

    found a solution in this site
    http://yoast.com/smarter-upload-handling-wp-plugins/

    (they forgot t in the function, be careful while copying)

Topic Closed

This topic has been closed to new replies.

About this Topic