[wp-hackers] wp hook upload

Viper007Bond viper at viper007bond.com
Tue Jan 16 07:58:33 GMT 2007


Check out the function. I believe there there are filters to control that.

On 1/15/07, Bjorn Wijers <mailings at bdisfunctional.net> wrote:
>
> 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
> >>
> >
> >
> >
> _______________________________________________
> 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