We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Set the duration under the login expires.
// Expire after 2 hours function my_password_protected_auth_cookie_expiration( $duration ) { return 7200; // Time in seconds } add_filter( 'password_protected_auth_cookie_expiration', 'my_password_protected_auth_cookie_expiration' );