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

(int) (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

This site uses Akismet to reduce spam. Learn how your comment data is processed.