mc_custom_spam_status - joedolson/my-calendar GitHub Wiki
Test spam status before Akismet runs. Returns immediately and shortcircuits tests.
Auto-generated Example
add_filter(
'mc_custom_spam_status',
function(
int $status,
array $post
) {
// Your code here.
return $status;
},
10,
2
);
Parameters
int$statusNumeric status. 0 for valid, 1 for spam.array$postSubmitted data from POST.
Returns
int
Files
apply_filters( 'mc_custom_spam_status', 0, $post )