Reply To: Pre-populated table results

#15410
Ernest Marcinko
Ernest Marcinko
Keymaster

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 :)