WP_Session_Tokens::__construct( int $user_id )

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


Description


Parameters

$user_id

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


Top ↑

Source

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

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

Top ↑

Changelog

Version Description
4.0.0 Introduced.