Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Pre-populated table results › Reply To: Pre-populated table results
November 7, 2017 at 10:44 am
#15410
Hi Nate,
Line 4 in this case is only the attachment of the filter function to the actual hook. Numbers 10 and 2 are the priority and the accepted arguments number, it is not the search ID.
However, in the function parameters, variable $id holds the search ID value. So, if you want to separately change these parameters for earch instance, then use this modified code (as example only):
This is almost the same as the one above, except there is and $id check, so the parameter change can be made on this condition.
Best,Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)