WP_Session_Tokens::__construct

Advertisement

Summery Summery

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

Syntax Syntax

WP_Session_Tokens::__construct( int $user_id )

Parameters Parameters

$user_id

(Required) User whose session to manage.

Source Source

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

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

Advertisement

Changelog Changelog

Changelog
Version Description
4.0.0 Introduced.

Advertisement

Leave a Reply