wxr_site_url() – Returns 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 10 of 10
  function wxr_site_url() {
    if ( is_multisite() ) {
      // Multisite: the base URL.
      return network_home_url();
    } else {
      // WordPress (single site): the site URL.
      return get_bloginfo_rss( 'url' );
    }
  }
 

 View on GitHub View on Trac