This topic contains 1 reply and 2 voices, and was last updated by Tareq Hasan 5 years, 9 months ago
Viewing 1 Posts - 1 through 1 (of 1 total)
Author Posts
January 30, 2014 at 4:55 pm 14896
Tareq Hasan Hello, I would like posts from a specific WP user role to be always associated with a specific editing form without having to assign it manually for each post for a specific user role. Is there an function I have missed or could you suggest any hack? Feraz
January 30, 2014 at 11:40 pm 14915
Tareq Hasan Tareq Hasan

Use this hook

Just update the meta key _wpuf_form_id with the form id you want to assign.

[php]update_post_meta( $post_id, ‘_wpuf_form_id’, 333);[/php]

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