The proper way to do it is to create a new folder (plugin) inside course/format/{yourpluginname} and use this custom course format by going to "Site Admin -> Plugins -> Course format -> Manage course formats" and set your {yourpluginname} as default.
General developer forum
renderer override not working
This discussion has been locked so you can no longer reply to it.