Can someone let me know the difference between the following two snippets of code, and which one I should be using and why? I know that ‘wpurl’ has replaced the deprecated ‘siteurl’, but these two appear (According to the Codex) to do exactly the same thing.
$wp_address = get_option('wpurl');
and this one
$wp_address = get_bloginfo('wpurl');
- The topic ‘get_bloginfo or get_option’ is closed to new replies.