mcs_check_conflicts - joedolson/my-calendar GitHub Wiki

Filter the results of a check for time/location conflicts.

Auto-generated Example

add_filter(
   'mcs_check_conflicts',
    function(
        array|bool $conflicts,
        array $post
    ) {
        // Your code here.
        return $conflicts;
    },
    10,
    2
);

Parameters

  • array|bool $conflicts False if no conflicts, array of conflicting events if found.
  • array $post Query.

Files

apply_filters( 'mcs_check_conflicts', $conflicts, $post )

← All Hooks