Here is a starting point.
function custom_event($content) { global $post; if( in_category( 'category-name-slug-id', $post ) ) { $beforecontent = '<strong>[acf field="date"] [acf field="time"] [acf field="location" ] </strong>'; $fullcontent = $beforecontent . $content; return $fullcontent; } return $content;}add_filter('the_content', 'custom_event');