WP_Roles::get_site_id()

Gets the ID of the site for which roles are currently initialized.


Description


Return

(int) Site ID.


Top ↑

Source

File: wp-includes/class-wp-roles.php

	public function get_site_id() {
		return $this->site_id;
	}

Top ↑

Changelog

Version Description
4.9.0 Introduced.