Uma área de pesquisa sobre o WordPress para devs e autores do tema



attach_session_information ›

Desde4.0.0
Obsoleton/a
apply_filters( 'attach_session_information', array()
Parâmetros: (2)
  • (array) $session Array of extra data.
    Required: Yes
  • (int) $user_id User ID.
    Required: Yes
Definido em:
Codex:

Filters the information attached to the newly created session.

Can be used to attach further information to a session.





Fonte

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