habibjutt
12/17/2015 - 11:21 AM

WP Starting PHP Session.php

<?php
add_action('init', 'myStartSession', 1);
function myStartSession() {
    if(!session_id()) {
        session_start();
    }
}
?>