Skip to content

mc_pre_checkdata

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

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

Clone this wiki locally