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



attach_session_information › Hooks de Filtros WordPress

Desde4.0.0
Obsoleton/a
› apply_filters( 'attach_session_information', array()
Parâmetros: (2)
  • () session Array of extra data.
    Required: Yes
  • () 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 );