Skip to content

Instantly share code, notes, and snippets.

@asharirfan
Last active December 27, 2018 05:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save asharirfan/dd69c118115bd51beac325780aae409f to your computer and use it in GitHub Desktop.
Save asharirfan/dd69c118115bd51beac325780aae409f to your computer and use it in GitHub Desktop.
WP Session Entry Example.
<?php
/**
* WP Session Entry Example.
*/
$wp_session_entry = array(
'a97941ac30b27091e9016f9fbe2a16a798a5dd17d7db58235890107bb6ce485f' => array( // User Session Token.
'expiration' => 1545975258 // Session Expiration Timestamp.
'ip' => '172.17.0.1' // IP Address of the User.
'ua' => 'Mozilla/5.0 (Macintosh...' // User Agent.
'login' => 1545802458 // Login Timestamp.
)
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment