mc_debug - joedolson/my-calendar GitHub Wiki
Execute a custom debug action during an mc_debug call. Runs if MC_DEBUG_METHOD is not 'email'.
Auto-generated Example
add_action(
'mc_debug',
function(
string $subject,
string $body
) {
// Your code here.
},
10,
2
);
Parameters
string$subjectSubject line of email debugging message.string$bodyBody of email debugging message.
Files
do_action( 'mc_debug', $subject, $body )