Can someone tell me why my plugin doesn't work?
#2
I've had a quick look and you're not passing the data by reference; $data exists only in your function, when you do a set_error() you actually don't set anything.

function add_fields(&$data) {
    // your code here
}

This should work.
[Image: fSGNVQj.png]
Reply


Messages In This Thread
RE: Can someone tell me why my plugin doesn't work? - by Shade - 2016-09-13, 09:29 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)