apply_filters( ‘attach_session_information’, array $session, int $user_id )

In this article

Filters the information attached to the newly created session.

Description

Can be used to attach further information to a session.

Parameters

$sessionarray
Array of extra data.
$user_idint
User ID.

Source

$session               = apply_filters( 'attach_session_information', array(), $this->user_id );

Changelog

VersionDescription
4.0.0Introduced.

User Contributed Notes

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