The Events Calendar: Replace ">" with "in" at Event Category title pages.
<?php
/**
* The Events Calendar: Replace ">" with "in" at Event Category title pages.
*
* @see tribe_get_events_title()
*
* @link https://theeventscalendar.com/support/forums/topic/change-the-symbol-between-title-upcoming-events-and-category/
* @link https://gist.github.com/cliffordp/6a5883ba21441b7d002cf034f741a6da
*/
function cliff_replace_right_pointing_angle_quote_mark_with_in_text( $title ) {
$title = str_replace( '›', 'in', $title );
return $title;
}
add_filter ( 'tribe_get_events_title', 'cliff_replace_right_pointing_angle_quote_mark_with_in_text' );