Created
November 20, 2018 17:49
-
-
Save Mk-Etlinger/845dbe94462f4701964e75d123098597 to your computer and use it in GitHub Desktop.
From setup.php
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_action('init', function(){ | |
session_set_cookie_params( 0 ); | |
if(!session_id()) | |
session_start(); | |
}, 1); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment