WordPress 4.9.0 Hooks, Functions, Classes and Methods
Page 8

WP_User::get_site_id()

Gets the ID of the site for which the user’s capabilities are currently initialized.