Preferred Use of home_url()?
Million ways in WordPress to use home_url() or sister functions. The question to ask is: What function is a wrapper for other function? To summarize, if you like to concatenate you may use: get_bloginfo(‘url’); get_option(‘home’); If you like to have the control over scheme (http or https) get_site_url( $blog_id, $path, $scheme ); get_home_url( $blog_id, $path, … Read more