• Resolved Menno1987

    (@menno1987)


    I want to update a single cell in the database after the form has been send, but i can’t figure out how to do this. I’ve already tried Googling for it, but the search results don’t come back with an answer to my problem.

    Any help on the matter would be much appreciated.

    https://ww.wp.xz.cn/plugins/contact-form-7/

Viewing 1 replies (of 1 total)
  • Thread Starter Menno1987

    (@menno1987)

    Already got it sorted like so …:

    add_action(“wpcf7_before_send_mail”, “custom_function_name”);
    function custom_function_name($cf){
    if($cf->id==//idname){
    //execute code
    }
    }

Viewing 1 replies (of 1 total)

The topic ‘How to update database form send’ is closed to new replies.