[wp-hackers] wp hook upload

Viper007Bond viper at viper007bond.com
Mon Jan 15 23:10:18 GMT 2007


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
>



-- 
Viper007Bond | http://www.viper007bond.com/


More information about the wp-hackers mailing list