Add the sample code below to your child theme's functions.php file or in a site specific plugin.
<?php
//* Do NOT include the opening php tag
//* Replace verbiage on the events table view template for Event Espresso 4
function ee_change_events_table_view_template_messaging( $translated, $original, $domain ) {
$strings = array(
'Category Filter' => 'Replace me with new text or remove this statement to remove the entire messaging',
'Search:' => 'Replace me with new text or remove this statement to remove the entire messaging',
);
if ( isset( $strings[$original] ) ) {
$translations = &get_translations_for_domain( $domain );
$translated = $translations->translate( $strings[$original] );
}
return $translated;
}
add_filter( 'gettext', 'ee_change_events_table_view_template_messaging', 10, 3 );
References: