add_filter
(
'wpseo_title'
,
'my_custom_titles'
)
;
function
my_custom_titles
(
$title
)
{
if
(
tribe_is_event
(
)
)
{
$title
=
'Winter is coming'
;
}
return
$title
;
}