Skip to content

Instantly share code, notes, and snippets.


Pebblo/functions.php Secret

Last active Feb 11, 2019
What would you like to do?
Change the EE session lifepsan time
<?php //Please do not ad the opening PHP tag if you already have one.
function tw_ee_change_session_lifespan() {
return 30 * MINUTE_IN_SECONDS;
add_filter( 'FHEE__EE_Session__construct___lifespan', 'tw_ee_change_session_lifespan');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment