WPUF Form Custom Field?

This topic contains 2 reply and 2 voices, and was last updated by Nayem 10 years, 5 months ago
Viewing 2 Posts - 1 through 2 (of 2 total)
Author Posts
January 25, 2015 at 12:10 am 34923
Nayem Hi, right after a new user registiration I create a new POST automaticly for this new user. how can I set this post to a special FORM (WPUF Form ID="285")? Cheers. Denis
January 25, 2015 at 5:39 am 34937
Denis Denis

this works for me

add_post_meta( $newID the ID returned by wp_insert_post, '_wpuf_form_id', 'your form ID' );

January 25, 2015 at 10:57 am 34957
Nayem Nayem

Hello Denis,

I am very glad to know that this code is working for you. I think i can mark this topic as resolved.

Thank you 🙂

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