PHP difference between home_url() vs get_option(‘home’)
home_url() is faster and secure than get_option(‘home’) – Source Example using “/” (source): Output (echo): http://www.example.com/
home_url() is faster and secure than get_option(‘home’) – Source Example using “/” (source): Output (echo): http://www.example.com/