Have problem with getting post request on my site. I called it by js: data = {'products':'123'}; $.post(ajaxurl, data);
It is successfull (http://ift.tt/1YGGy6U)
but in php script isset($_POST['products'])
always returns false
.
What I should do with it?
Aucun commentaire:
Enregistrer un commentaire