WordPress at a glance
filter is not described

attach_session_information filter-hook . WP 4.0.0

Filters the information attached to the newly created session.

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

Usage

add_filter( 'attach_session_information', 'filter_function_name_7401', 10, 2 );
function filter_function_name_7401( $session, $user_id ){
	// filter...

	return $session;
}
$session(array)
Array of extra data.
$user_id(int)
User ID.

Where the hook is called

WP_Session_Tokens::create()
wp-includes/class-wp-session-tokens.php 134
$session = apply_filters( 'attach_session_information', array(), $this->user_id );

Where the hook is used (in WP core)

Does not used.