Forums

wp_handle_upload - override "test_upload" (1 post)

  1. BlaM4c
    Member
    Posted 1 year ago #

    I'm trying to "slide in" a file through the upload mechanism without actually uploading it.

    I think I got it all figured out so far, but now I try to use the wp_handle_upload function. I override the "test_upload" check to avoid that the function blocks my file because it was NOT uploaded.

    That works up to the point where the function uses "move_uploaded_file" to move the file.

    I would expect the function to use "normal move" when overriding "test_upload".

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags