wp_get_session_token( )
Retrieve the current session token from the logged_in cookie.
string
Token.
Stay on top of the latest WordPress API changes, developer tool updates, security alerts and more.