Since this function has an "action" assigned to it, you can simply remove it and add your own. For more info and explanation, see here