Alter Subheading On Search Results

function myprefix_custom_search_for_text( $string ) {
	if ( is_search() ) {
		return 'Search results for: '.  esc_html( get_search_query( false ) );
	}
	return $string;
}
add_filter( 'ocean_post_subheading', 'myprefix_custom_search_for_text' );

All PHP snippets should be added via a child theme's functions.php file.