Home Forums Plugin Support WP User Frontend (Free Version) Assign Editing Form to User Role

This topic is: resolved

This topic contains 1 reply, has 2 voices, and was last updated by  Tareq Hasan 5 years, 5 months ago.

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

    Post count: 91


    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?



    Tareq Hasan
    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]

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

The topic ‘Assign Editing Form to User Role’ is closed to new replies.