apply_filters( 'attach_session_information', array $session, int $user_id )

Filters the information attached to the newly created session.


Description Description

Could be used in the future to attach information such as IP address or user agent to a session.


Parameters Parameters

$session

(array) Array of extra data.

$user_id

(int) User ID.


Top ↑

Source Source

File: wp-includes/class-wp-session-tokens.php

View on Trac


Top ↑

Changelog Changelog

Changelog
Version Description
4.0.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.