Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Ultimate Member and Ajax Search Pro › Reply To: Ultimate Member and Ajax Search Pro
July 9, 2020 at 1:59 pm
#28341
Keymaster
Well, the problem with that code is that the $restriction variable does not exist, thus it gives the error. It is possible, that if that this may actually work, but there is a missing bit to set the $restriction variable. Maybe there is a method that exists that needs to set that first. But even afterwards, I don’t see a comparision to the post ID or object there. I’m not sure if that is the correct one.