mc_pre_checkdata - joedolson/my-calendar GitHub Wiki

Filter posted data before performing event data checks.

Auto-generated Example

add_filter(
   'mc_pre_checkdata',
    function(
        array $post,
        string $action,
        int $i
    ) {
        // Your code here.
        return $post;
    },
    10,
    3
);

Parameters

  • array $post Post data.
  • string $action Action performed (edit, copy, add).
  • int $i Current event index if parsing multiple events.

Returns

array

Files

apply_filters( 'mc_pre_checkdata', $post, $action, $i )

← All Hooks