Yeah, I worte this code , When i looking at these lines , I telling to myself : What the hell is going on ? And whats wrong with it ?
I Pasted the full code up there and there is nothing to Paste , Inserting $wpdb->insert
working without any problem but the updating is the matter .
I cant get your point about ( I think there is no need to using if statement )
Can you Please provide me ” Changed Code ” and replying it.
Best Regards