A WordPress-centric search engine for devs and theme authors



attach_session_information ›

Since4.0.0
Deprecatedn/a
apply_filters( 'attach_session_information', array()
Parameters: (2)
  • (array) $session Array of extra data.
    Required: Yes
  • (int) $user_id User ID.
    Required: Yes
Defined at:
Codex:

Filters the information attached to the newly created session.

Can be used to attach further information to a session.





Source

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