Home › Forums › Plugin Support › WP User Frontend (Free Version) › Assign Editing Form to User Role This topic is: resolved Tagged: editing, form, user role This topic contains 1 reply, has 2 voices, and was last updated by Tareq Hasan 5 years ago. Viewing 2 posts - 1 through 2 (of 2 total) Author Posts January 30, 2014 at 4:55 pm #14896 sociallyfamousParticipant Post count: 91 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 HasanKeymaster Post count: 2831 Use this hook http://docs.wedevs.com/wpuf_add_post_after_insert/. 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] Author Posts Viewing 2 posts - 1 through 2 (of 2 total) The topic ‘Assign Editing Form to User Role’ is closed to new replies.