WordPress Session переменные
if (!session_id()) {
session_start();
}
Emmana Org
if (!session_id()) {
session_start();
}
add_action('init', 'cyb_session_start', 1);
function cyb_session_start() {
if( ! session_id() ) {
session_start();
}
}
function register_my_session(){
if( ! session_id() ) {
session_start();
}
}
add_action('init', 'register_my_session');