Inheriting existing tag objects


Is there a way to add functionality to an existing tag in radiant core?
Let’s take the content tag for example. What I’ve done is simply copy
and paste the entire tag code block into my new extension and simply
added on to it from there?

Is there a better way to do this?

For a better idea of what I’m talking, check out the lib directory at

Any help would be greatly appreciated. :slight_smile: