wxr_site_url()
Return the URL of the site
Return
(string) Site URL.
Source
File: wp-admin/includes/export.php
function wxr_site_url() {
// Multisite: the base URL.
if ( is_multisite() )
return network_home_url();
// ClassicPress (single site): the blog URL.
else
return get_bloginfo_rss( 'url' );
}
Changelog
Version | Description |
---|---|
WP-2.5.0 | Introduced. |