WP_Roles::get_site_id(): int

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


Return

int Site ID.


Top ↑

Source

File: wp-includes/class-wp-roles.php. View all references

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

Top ↑

Changelog

Changelog
Version Description
4.9.0 Introduced.

Top ↑

User Contributed Notes

You must log in before being able to contribute a note or feedback.