diff --git a/README.md b/README.md index 3d65d43e..424176b7 100644 --- a/README.md +++ b/README.md @@ -30,6 +30,18 @@ https://github.com/pantheon-systems/wp-native-php-sessions That's it! +## Configuration ## + +By default the session lifetime is set to 0, which is until the browser is closed. + +To override this use the `pantheon_session_expiration` filter before the WordPress Native PHP Sessions plugin is loaded. For example a small Must-use plugin (a.k.a. mu-plugin) could contain: + +