Skip to content

Instantly share code, notes, and snippets.

@Steven-Rose
Created February 8, 2012 19:12
Show Gist options
  • Save Steven-Rose/1772336 to your computer and use it in GitHub Desktop.
Save Steven-Rose/1772336 to your computer and use it in GitHub Desktop.
WP: Uploads directory path
$upload_dir = wp_upload_dir();
echo $upload_dir['baseurl'];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment