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$postPost data.string$actionAction performed (edit, copy, add).int$iCurrent event index if parsing multiple events.
Returns
array
Files
apply_filters( 'mc_pre_checkdata', $post, $action, $i )