Get current form ID
-
Hi there, I need a way to know the id of the form the user is viewing. Using $post->ID or get_the_ID() returns always 1. I’ve to use this in a function that is called with give_insert_payment hook. There is a parameter called form_id in another hook, but with this, there is $payment_id instead.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Get current form ID’ is closed to new replies.