Skip to content

mcs_check_conflicts

github-actions[bot] edited this page May 15, 2026 · 4 revisions

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.

Returns

{array|bool}

Files

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

← All Hooks

Clone this wiki locally