I am trying to replace some symbols (namely HTML markup - for example
<sup>) that I use in page titles and should not be present int he HEAD TITLE.
I created a custom module implementing
hook_page_title_alter(&$title) to replace a
<br> tag in the slogan with a dash symbol in the front page title.
However, my function (or any function implementing the hook for that matter) gets called only if I call
page_title_get_title() from the template.php in the
The fact that no other hooks get called lead me to think that it is a documentation/usage issue rather than a bug. Unfortunately I have no time to read the source code carefully to figure out which is which at the moment. I found a workaround for my case, but I am concerned it might eventually break if this in fact is a bug and gets fixed in the future.
Can you provide a short description (use case scenario) on how to use the hook(s)?