Skip to content

mc_debug

github-actions[bot] edited this page Jun 3, 2026 · 4 revisions

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 $subject Subject line of email debugging message.
  • string $body Body of email debugging message.

Files

do_action( 'mc_debug', $subject, $body )

← All Hooks

Clone this wiki locally