[wp-hackers] wp hook upload

Viper007Bond viper at viper007bond.com
Tue Jan 16 07:57:29 GMT 2007


Yes actually, it would be better that way.

On 1/15/07, Brian Layman <Brian at thecodecave.com> wrote:
>
>
>
> -----Original Message-----
> From: wp-hackers-bounces at lists.automattic.com
> [mailto:wp-hackers-bounces at lists.automattic.com] On Behalf Of
> Viper007Bond
> Sent: Monday, January 15, 2007 6:10 PM
> To: wp-hackers at lists.automattic.com
> Subject: Re: [wp-hackers] wp hook upload
>
> Viper007Bond:
> > 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');
>
> Coding question: Is it better, generally speaking, to use require_once
> in plugins?
>
> _______________________________________________
> 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