I want to increase the nonce lifespan from the default 12-24h, to 36-48h.
I found the following code in the codex, but don't know where to put it.
add_filter( 'nonce_life', function () { return 172800; } );
can i put this line in the functions.php to change the nonce lifespan sitewide?
Is there an easy way to check the sitewide default lifespan of nonces?
Are there any security issues with increasing the nonce lifetime by 24h?