Good evening,
I’m currently trying to add revision support to our Calendar and I’m unsuccessful. I have tried both WordPress’ add_post_type_support() and the Tribe Filter tribe_events_register_event_type_args and neither options are working.
I know I’m in the filter because if I remove the return in the function it takes out everything that’s supported. I have tried returning the support array multiple ways and I’m unsuccessful as well. My code is below and it’s in the functions.php file.
add_filter( 'tribe_events_register_event_type_args', function( $postTypeArgs ) {
$postTypeArgs['supports'][] = 'revisions';
return $postTypeArgs;
}, 10, 1 );