How to get the site URL for the current site in WordPress

2 Answers

0 votes
0 votes
// The function site_url() code

function site_url( $path = '', $scheme = null ) {
	return get_site_url( null, $path, $scheme );
} 

 



answered Dec 11, 2018 by avibootz

Related questions

1 answer 312 views
1 answer 293 views
1 answer 282 views
1 answer 312 views
1 answer 605 views
1 answer 460 views
...