The content is modified with filters, not hooks.
To modify the <title>, use wp_title filter
Example:
add_filter('wp_title', 'set_page_title');
function set_page_title($orig_title) {
return 'Modified ' . $orig_title;
}
The content is modified with filters, not hooks.
To modify the <title>, use wp_title filter
Example:
add_filter('wp_title', 'set_page_title');
function set_page_title($orig_title) {
return 'Modified ' . $orig_title;
}