Changes between Initial Version and Version 1 of Ticket #47320, comment 4
- Timestamp:
- 05/31/2019 12:55:51 PM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #47320, comment 4
initial v1 6 6 <?php 7 7 add_action('init', function(){ 8 session_start(); 8 session_start(); //this loads variables to $_SESSION for reading 9 9 if( empty($your_plugin_needs_session_saving) ){ 10 10 session_write_close(); //other plugins can restart a session again via session_start()