get_site_url( ... )

Retrieves the URL for a given site where WordPress application files (e.g. wp-blog-header.php or the wp-admin/ folder) are accessible.

Parameters:
  • $blog_id int | null
  • $path string
  • $scheme string | null