attach_session_information

Advertisement

Summery Summery

Filters the information attached to the newly created session.

Syntax Syntax

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

Description Description

Can be used to attach further information to a session.

Parameters Parameters

$session

(array) Array of extra data.

$user_id

(int) User ID.

Source Source

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

Advertisement

Changelog Changelog

Changelog
Version Description
4.0.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

What are you looking for?