PHP difference between home_url() vs get_option(‘home’) Leave a Comment / WordPress / By Reid Walley / get_option('home'), home_url(), PHPhome_url() is faster and secure than get_option(‘home’) – SourceExample using “/” (source):$url = home_url( '/' ); echo $url;Output (echo): http://www.example.com/Share this post: Share on Twitter Share on Facebook Share on LinkedIn Share on Email