Filters the site URL.
$urlstring$pathstring$schemestring|null$blog_idint|nullwp-includes/https-detection.php:58wp_is_site_url_using_https()wp-includes/link-template.php:3551get_site_url() * @param string $url The complete site URL including scheme and path. * @param string $path Path relative to the site URL. Blank string if no path is specified. * @param string|null $scheme Scheme to give the site URL context. Accepts 'http', 'https', 'login', * 'login_post', 'admin', 'relative' or null. * @param int|null $blog_id Site ID, or null for the current site. */ return apply_filters( 'site_url', $url, $path, $scheme, $blog_id );} /** * Retrieves the URL to the admin area for the current site. * * @since 2.6.0Introduced in 2.7.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.