I do not have a clear picture in my mind of which kind of function-verb to use for a customization. This is what I mean:
I have, in my theme's function.php:
function mytheme_thing () {
something that will be different for my theme;
}
Assume that there's a function thematic_thing(). I don't have a good sense of when to use apply_filters, add_filter, add_action, or what, to attach mytheme_thing to thematic_thing. Sometimes I want mytheme_thing to replace all of thematic_thing, sometimes I want it to be in addition to themetic_thing, sometimes I want to replace part of thematic_thing.
Right now I'm specifically trying to add a javascript onclick function to h2 class="entry-title" on certain pages, but while I can replace thematic_postheader_posttitle, I want to merely *add* something, instead. I need a better cookbook.