Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-includes/pluggable.php | apply_filters | 2258 | /** * Filters the lifespan of nonces in seconds. * * @since 2.5.0 * @since 6.1.0 Added `$action` argument to allow for more targeted filters. * * @param int $lifespan Lifespan of nonces in seconds. Default 86,400 seconds, or one day. * @param string|int $action The nonce action, or -1 if none was provided. */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
int | $lifespan | Lifespan of nonces in seconds. Default 86,400 seconds, or one day. |
string|int | $action | The nonce action, or -1 if none was provided. |