Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-includes/pluggable.php | apply_filters | 2291 | /** * Filters whether the user who generated the nonce is logged out. * * @since 3.5.0 * * @param int $uid ID of the nonce-owning user. * @param string|int $action The nonce action, or -1 if none was provided. */ |
wp-includes/pluggable.php | apply_filters | 2346 | /** * Creates a cryptographic token tied to a specific action, user, user session, * and window of time. * * @since 2.0.3 * @since 4.0.0 Session tokens were integrated with nonce creation. * * @param string|int $action Scalar value to add context to the nonce. * @return string The token. */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
int | $uid | ID of the nonce-owning user. |
string|int | $action | The nonce action, or -1 if none was provided. |
int | $uid | ID of the nonce-owning user. |
string|int | $action | The nonce action, or -1 if none was provided. |