wxr_site_url() – Return the URL of the site

You appear to be a bot. Output may be restricted

Description

Returns the URL of the site.

Usage

$string = wxr_site_url();

Parameters

Returns

string Site URL.

Source

File name: wordpress/wp-admin/includes/export.php
Lines:

1 to 9 of 9
  function wxr_site_url() {
    if ( is_multisite() ) {
      // Multisite: the base URL.
      return network_home_url();
    } else {
      // WordPress (single site): the blog URL.
      return get_bloginfo_rss( 'url' );
    }
  }
 

 View on GitHub View on Trac