• Many thanks to the author of this fantastic plugin.

    I use the Additional Settings “on_sent_ok” on many of my forms. I know it is being deprecated by the end of 2017. I want to prepare so that when it is deprecated, my forms will continue to work.

    I am following your instructions on how to do this: https://contactform7.com/2017/06/07/on-sent-ok-is-deprecated/#more-22909

    First question: I am using version 4.7 of the plugin (because I was scared to update when I read the details of the changes you were making and wanted to avoid having to shut down my websites until I could fix the problems.) Which version of your plugin allows me to use the new method of handling on_sent_ok? If I upgrade to 4.9, will all my forms suddenly stop working?

    Also, I have a “timing” issue. I don’t want the function to get called twice but I want to keep the forms accessible during the changeover. Can this be done safely or should I shut down the website until I have changed all the forms?

    For example, if the Additional Setting currently says
    on_sent_ok "myfunction();"
    If I leave it like that and add a custom footer to my functions.php file to call myfunction(), once I have done that, it may take me a minute before I can remove the Additional Settings. If someone uses the form while I have both in place, will myfunction() be called twice?

    • This topic was modified 7 years, 2 months ago by dccharron.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to replace on_sent_ok safely before deprecation’ is closed to new replies.