• Resolved binaryduke

    (@binaryduke)


    I’m looking to add functionality by hooking into bookacti_email_notification_sent

    Simple testing fails however:

    function bookact_test($sent, $email_data, $notification, $tags, $locale){
    //do stuff
    }
    
    add_action('bookacti_email_notification_sent', 'bookact_test', 99, 5);

    After making a test booking, the form reports:
    • AJAX An error occurred

    Within the browser console, the response text from forms.min.js?ver=1.14.3:1 is
    “<p>There has been a critical error on this website.</p>”

    I have wp_debug enabled but there is nothing in the logs.

    Confused!

Viewing 1 replies (of 1 total)
  • Plugin Author yoancutillas

    (@yoancutillas)

    Unfortunately, I cannot provide support for custom code, maybe you can use the help of developer communities such as stackoverflow.

Viewing 1 replies (of 1 total)

The topic ‘Hooking into bookacti_email_notification_sent’ is closed to new replies.