WordPress upload directory details


$path_array = wp_upload_dir();

$path_array Array:-
(
[path] => C:\development\xampp\htdocs\example.com/content/uploads/2017/06
[url] => https://aviweb.wordpress.com/content/uploads/2017/06
[subdir] => /2017/06
[basedir] => C:\~\aviweb.wordpress.com/content/uploads
[baseurl] => https://aviweb.wordpress.com/content/uploads
[error] =>
)

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s