wp_get_session_token

Advertisement

Summery Summery

Retrieve the current session token from the logged_in cookie.

Syntax Syntax

wp_get_session_token()

Return Return

(string) Token.

Source Source

File: wp-includes/user.php

 * @param int    $user_id ID of the newly created user.
 * @param string $notify  Optional. Type of notification that should happen. Accepts 'admin'
 *                        or an empty string (admin only), 'user', or 'both' (admin and user).
 *                        Default 'both'.

Advertisement

Changelog Changelog

Changelog
Version Description
4.0.0 Introduced.

Advertisement

Leave a Reply