mc_groups_pre_checkdata - joedolson/my-calendar GitHub Wiki

Filter posted event group data prior to running event data checks.

Auto-generated Example

add_filter(
   'mc_groups_pre_checkdata',
    function(
        array $post,
        string $action
    ) {
        // Your code here.
        return $post;
    },
    10,
    2
);

Parameters

  • array $post POST data.
  • string $action Type of action running.(add, edit, or copy.)

Returns

array

Files

apply_filters( 'mc_groups_pre_checkdata', $post, $action )

← All Hooks