Using Moodle 3.1
I'm sure this is has been asked before and has been a long standing question across developer forums but would like to know if there has been any development through all these years.
Is there a way to override or extend footer() of outputrenderers.php as part of plugin (AND NOT THEME) in such a way that we make a small change to this function and keep rest of the functionality same?
I'm aware that we can only override renderers in theme but what if we use standard theme & do not want to make a core code hack or modification? Surely there should be some way of doing this within the custom plugin ?
Can we not create a renderer file in the plugin that extends core_renderer class and overrides footer() function to output it's core functionality along with a tiny custom change?
Any pointers or suggestion in this direction would be helpful.