Home Forums Plugin Support WP User Frontend Pro Get form_id in app_post_after_insert

This topic is: resolved

This topic contains 1 reply, has 1 voice, and was last updated by  jeremymatter 4 years, 1 month ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #37204

    jeremymatter
    Participant
    Post count: 25

    Hi,

    I have some wpuf form and i want to use :

    add_action( ‘wpuf_add_post_after_insert', ‘wpufe_send_email' );

    to send an email after a post is create. But i want to send this mail only when the new post is attached at ONE form
    In my function “wpufe_send_email” i try to get the form_id of the new post, i try to use the $form_id in parametrs but it's dont work.

    How i can get the form id ?

    Thank you ๐Ÿ™‚

    #37207

    jeremymatter
    Participant
    Post count: 25

    Hi,

    I have found an another solution, it's okay.
    I don't explain it, this solution work only in my website.

    Bye !

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Get form_id in app_post_after_insert’ is closed to new replies.