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.

Can be used to attach further information to a session.


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

	return $session;
Array of extra data.
User ID.

Where the hook is called

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

Where the hook is used (in WP core)

Использование не найдено.