I want to edit the sql query available in the course/classes/category.php.
What is the best practice to update this file? Is it possible to make a copy of this file in the theme directory and then modify this file?
Please share the steps to create/use this file from theme directory.
Help is highly appreciated.