[wp-hackers] Upload directory constant

Otto otto at ottodestruct.com
Fri Mar 20 15:24:18 GMT 2009


Ugh. Is it just me, or does anybody else find xref to be bloody
useless? I mean, it gives you almost no useful information about the
function other than its name and where it's called from.

Here you go:
http://phpdoc.wordpress.org/trunk/WordPress/_wp-includes---functions.php.html#functionwp_upload_dir

-Otto



On Wed, Mar 18, 2009 at 4:49 PM, Joost de Valk <joost at yoast.com> wrote:
> Did a quick search on http://xref.yoast.com/simple-search.html for constants
> and can't find any, but this might be helpful:
>
> http://xref.yoast.com/2.7.1/nav.html?_functions/wp_upload_dir.html
>
> Best,
> Joost
>
> Dan Coulter wrote:
>>
>> Is there a constant or another proper way to get the path of the uploads
>> directory besides "WP_CONTENT_DIR . '/uploads'"?  I couldn't spot one in
>> my
>> brief search, but if anyone knows off the top of your head, I'd appreciate
>> the pointer.
>>
>>
>
> --
> me *Joost de Valk*
> Online Marketing, WordPress, SEO & Social Media Strategy
> OrangeValley <http://www.orangevalley.nl> & Yoast <http://yoast.com>
> E: joost at orangevalley.nl <mailto:joost at orangevalley.nl> - joost at yoast.com
> <mailto:joost at yoast.com>
> T: +316-24-555-808 | @jdevalk <http://twitter.com/jdevalk> on Twitter
> _______________________________________________
> 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