Created
August 9, 2018 15:51
-
-
Save ideadude/bdb2a670b76578ae77a30489fb1a44b7 to your computer and use it in GitHub Desktop.
Tell PMPro to start the PHP session earlier.
This file contains 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 this code into a custom plugin. | |
* You could also add a direct call to session_start() in your wp-config.php | |
* or another piece of code that runs early. | |
*/ | |
add_action('plugins_loaded', 'pmpro_start_session'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment