Hi Yehuda,
I’m sorry that code isn’t working for you…can you try the following instead and see if it works? I just tested it out on my end, and it does set the category field to required. We are in the process now of updating the knowledge article you referenced with the new code:
add_filter( 'tribe_events_community_required_fields', 'my_community_required_fields' );
function my_community_required_fields( $fields ) {
if ( is_array( $fields ) ) {
$fields[] = 'tax_input.tribe_events_cat';
$fields[] = 'EventStartDate';
}
return $fields;
}
Let me know if that helps!
Thanks,
Jennifer