Expiration snippet not working?
-
Hello, thanks for this great plugin!
I’m using the snippet example that is used on the main plugin page and set it to 60 days but the link still expires.
Is this snippet in seconds or days? The example shows 5 days but the snippet actually looks like it’s in seconds.
Also, I assume this goes in the functions file?
add_filter( 'ppp_nonce_life', 'my_nonce_life' ); function my_nonce_life() { return 60 * DAY_IN_SECONDS; }
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Expiration snippet not working?’ is closed to new replies.