Skip to content

mc_groups_pre_checkdata

Joe Dolson edited this page May 15, 2026 · 4 revisions

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

Clone this wiki locally