Take the 2-minute tour ×  I am developing a plugin.  I want to
know difference between     I got same output, then what's the
difference?  share|improve this question add comment  4 Answers
up vote 8 down vote accepted   • get_bloginfo('url') calls
home_url() calls get_home_url() reads option home    •
get_bloginfo('wpurl') calls site_url() calls get_site_url()
reads option siteurl    • get_bloginfo('siteurl') and
get_bloginfo('home') are deprecated arguments and return
get_bloginfo('url') (siteurl argument is documented wrong in
Codex as equal to wpurl, it's not in current code)  The
difference is that these two function chain to different
options, which are typically same.  It would be more appropriate
to compare get_bloginfo('url') to get_home_url() or
get_bloginfo('wpurl') to get_site_url(). Then the answer is that
these functions are on different level in chain. Typically the
deeper function is - the more flexible it is and the less
filters output passes through.  share|improve this answer add
comment