mc_imported_event_tribe - joedolson/my-calendar GitHub Wiki

Filter imported event to customize what gets added to database. Return false to skip event.

Auto-generated Example

add_filter(
   'mc_imported_event_tribe',
    function( WP_Post $event = null ) {
        // Your code here.
        return null;
    }
);

Parameters

  • WP_Post|null $event Array of event data passed to mc_check_data.

Files

apply_filters( 'mc_imported_event_tribe', $tribe_event )

← All Hooks