How to Enable Sessions in WordPress

The Issue

Let's say you want to use something like this in your theme or plugin:

It might be actually not working.

The Solution

Paste de following line in your functions.php file of your theme:

Leave a Reply

Add <code> Some Code </code> by using this tags.