Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-includes/class-wp-session-tokens.php | apply_filters | 134 | /** * Filters the information attached to the newly created session. * * Can be used to attach further information to a session. * * @since 4.0.0 * * @param array $session Array of extra data. * @param int $user_id User ID. */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
array | $session | Array of extra data. |
int | $user_id | User ID. |