0
votes
0answers
40 views

Options not being deletd via ajax in wordpress

I have this fucntion which is called via Ajax to delete an option based on the name passed in. function uncheck_package(){ if(isset($_POST['element_value'])){ $element = ...
0
votes
2answers
762 views

update_option is not saving an array, but saving the string 'Array'

I have come across quite an odd problem when using the update_option function, and I am sure that I've tried everything I can think of to get it working, but unfortunately it isn't. I'm using AJAX to ...