_config_wp_siteurl


_config_wp_siteurl ( $url = '' )

Access:
  • private
Parameters:
  • (string) url URL to set the WordPress site location.
See:
  • WP_SITEURL
Returns:
  • (string) The WordPress site URL.
Defined at:

Description

Retrieves the WordPress site URL.If the constant named 'WP_SITEURL' is defined, then the value in that constant will always be returned. This can be used for debugging a site on your localhost while not having to change the database to your URL.

Related Functions

_config_wp_home, get_site_url, network_site_url, wp_count_sites, content_url

Top Google Results

User discussions

wpseek mobile