WP_Session_Tokens::__construct
Protected constructor. Use the get_instance() method to get the instance.
Method of the class: WP_Session_Tokens{}
No Hooks.
Returns
null. Nothing (null).
Usage
// protected - for code of main (parent) or child class $result = $this->__construct( $user_id );
- $user_id(int) (required)
- User whose session to manage.
Changelog
| Since 4.0.0 | Introduced. |
WP_Session_Tokens::__construct() WP Session Tokens:: construct code WP 6.9.1
protected function __construct( $user_id ) {
$this->user_id = $user_id;
}