Hi, i'm doing a wordpress plugin that add some data from angularjs/json on each post
in the json angularjs request i have to pass the session id
i've found this code to set it
session_start();
$id = session_id();
but i don't know where to put it becouse if i add it in the function that print the data below the article post session_start() gives error where do i have to put the session_id() in a wordpress plugin? thank you for help