[wp-hackers] wp hook upload

Bjorn Wijers mailings at bdisfunctional.net
Mon Jan 15 23:56:29 GMT 2007


Viper007Bond,

Could you get the overrides so far that it would upload in the 
$uploads/$my_dir?

I would like to seperate my files from the regular uploads ;)

grtz
BjornW


Viper007Bond wrote:
> I've written a couple plugins that make use of the built in uploader
> functions. Works quite well.
> 
> Just load the file in since you need it:
> 
> require(ABSPATH . 'wp-admin/admin-functions.php');
> 
> On 1/15/07, Bjorn Wijers <mailings at bdisfunctional.net> wrote:
>>
>> Hi there,
>>
>> I would like to offer visitors of my client's site the ability to upload
>> their mugshot including some comment to the site. I've been looking at
>> the wp_handle_upload function which seems perfect for this, but it is
>> solely available in the admin-functions.php and there doesn't seem to be
>> a hook for this or am I missing something?
>>
>> ps: Sadly, for now I'm bound to the 2.0.x versions due to the isp using
>> mysql 3.23 :(
>>
>> grtz
>> BjornW
>>
>> _______________________________________________
>> wp-hackers mailing list
>> wp-hackers at lists.automattic.com
>> http://lists.automattic.com/mailman/listinfo/wp-hackers
>>
> 
> 
> 


More information about the wp-hackers mailing list