widness
1/12/2018 - 1:00 PM

Directories

Exemple of how Wordpress directories works

WordPress Directories:
home_url()		Home URL				http://www.example.com
site_url()		Site directory URL		http://www.example.com or http://www.example.com/wordpress
admin_url()		Admin directory URL		http://www.example.com/wp-admin
includes_url()	Includes directory URL	http://www.example.com/wp-includes
content_url()	Content directory URL	http://www.example.com/wp-content
plugins_url()	Plugins directory URL	http://www.example.com/wp-content/plugins
theme_url()		Themes directory URL 	(#18302)	http://www.example.com/wp-content/themes
wp_upload_dir()	Upload directory URL 	(returns an array)	http://www.example.com/wp-content/uploads