WP_Session_Tokens::__construct( int $user_id )

Protected constructor. Use the get_instance() method to get the instance.


Parameters Parameters

$user_id

(int) (Required) User whose session to manage.


Top ↑

Source Source

File: wp-includes/class-wp-session-tokens.php

	protected function __construct( $user_id ) {
		$this->user_id = $user_id;
	}

Top ↑

Changelog Changelog

Changelog
Version Description
4.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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