WordPress at a glance
function is not described

_config_wp_siteurl() WP 2.2.0

Retrieve 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.


No Hooks.


String. The WordPress Site URL.


_config_wp_siteurl( $url );
URL to set the WordPress site location.
Default: ''

Code of config wp siteurl: wp-includes/functions.php VER 5.1.1

function _config_wp_siteurl( $url = '' ) {
	if ( defined( 'WP_SITEURL' ) ) {
		return untrailingslashit( WP_SITEURL );
	return $url;