external media and wp_handle_upload
-
Hi,
this plugin is really wonderful and work very well.I’ve noticed that when a file is importend from an external media it is not processed by the wordpress default function
wp_handle_upload
.This function is very important because here any imported file is processed following the wordpress default upload flow.
Furthermore and there are many plugin that hook to wp_handle_upload filter to manipulate uploaded files before using them.External Media Plugin use the
WPUploadMedia_Base->save_remote_file
to get file from url (using curl) and then store the file usingfile_put_contents
.Is there a way to pass the just loaded file to the
wp_handle_upload
function?Thanks in advance.
- The topic ‘external media and wp_handle_upload’ is closed to new replies.