Filters the site URL.
$urlstring
$pathstring
$schemestring|null
'http', 'https', 'login', 'login_post', 'admin', 'relative' or null.$blog_idint|null
return apply_filters( 'site_url', $url, $path, $scheme, $blog_id );
| Version | Description |
|---|---|
| 2.7.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/site_url