Uses
Uses | Description |
---|---|
wp-includes/class-wp-session-tokens.php: WP_Session_Tokens::get_instance() | Retrieves a session manager instance for a user. |
wp-includes/user.php: wp_get_session_token() | Retrieve the current session token from the logged_in cookie. |
wp-includes/capabilities.php: current_user_can() | Returns whether the current user has the specified capability. |
wp-includes/l10n.php: __() | Retrieve the translation of $text. |
wp-includes/pluggable.php: wp_verify_nonce() | Verifies that a correct security nonce was used with time limit. |
wp-includes/pluggable.php: get_userdata() | Retrieve user info by user ID. |
wp-includes/functions.php: wp_send_json_error() | Send a JSON response back to an Ajax request, indicating failure. |
wp-includes/functions.php: wp_send_json_success() | Send a JSON response back to an Ajax request, indicating success. |
wp-includes/user.php: get_current_user_id() | Get the current user’s ID |