Gets the ID of the site for which roles are currently initialized.
(int) Site ID.
File: wp-includes/class-wp-roles.php
public function get_site_id() { return $this->site_id; }
Version | Description |
---|---|
4.9.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_roles/get_site_id