Run code after sending notification?

Home Forums Quform WordPress Run code after sending notification?

This topic is: resolved
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #20978
    ajpinto
    Participant

    I’d like to run some code after a notification is sent, is this possible?

    #20991
    ajpinto
    Participant

    found a solution!

    anyone looking to run a script after a successful send operation, here is an example solution:

    function my_after_success_function($successMessage, $this) {
    // Do something here
    return $successMessage;
    }
    add_filter('iphorm_success_message_1', 'my_after_success_function', 10, 3); // replace '1' with the number of the form you wish to target

    • This reply was modified 7 years ago by ajpinto.
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Be inspired. © 2024 ThemeCatcher Ltd. 20-22 Wenlock Road, London, England, N1 7GU | Company No. 08120384 | Built with React | Privacy Policy