How to override functionalities like sort, search by not touching the actual plugin?
How to override functionalities like sort, search by not touching the actual plugin?

I am new to datatables. I want to customise datatables plugin by not altering the actual code. For that I read about custome hooks. The current situation I used tablepress and datatables through wordpress. Now by default the sort mechanism is ascending for column headers. I want to change this to descending without altering the plugin code. I want to create a separate code and overwrite existing plugin code. Could anyone help for this? I added a custom hook function in functions.php. But after that I don't know how to proceed.
Answers
Hi @iamtheking ,
Take a look at
order
andcolumns.orderSequence
,Cheers,
Colin