Skip to Content
Menu

Add debug info to Contact Form 7 submissions

Add contextual data to Nebula’s debug info that is associated with every CF7 form submission.

July 1, 2022

Additional Notes

PHP
add_filter(‘nebula_cf7_debug_info’, function($debug_info){
    //Add custom data to the debug info
    if ( get_option(‘tier_name’) ){
        $debug_info[‘tier’] = get_option(‘tier_name’);
    }
    return $debug_info;
});
Was this page helpful? Yes No


    A feedback message is required to submit this form.


    Please check that you have entered a valid email address.

    Enter your email address if you would like a response.

    Thank you for your feedback!