Hello @carba
I hope you are doing well!
We were on Eid vacation, which causing the delay in response. However, we are back at the desk now & trying to expedite this as early as possible. Your kind cooperation would be much appreciated.
First assumption/answer with your first term:
→ If I’m right- you want to show different Post forms based on the user role. As you can set a specific form, say “Subscriber Post form” for “Subscriber,” another form like “Customer Post form” for “Customer” users. I’m sorry, by default, this is unavailable for the My Account Page context.
However, you can create a page with user base restrictions and render a form with a shortcode to make it happen. Please note this feature is with our pro version, so I’m sharing this as an alternative based on the context. Discussing any plugins’ pro features is prohibited on this public forum.
Second answer with your second term:
→ We facilitate a filter/hook for our WPUF account page, and by using that, you can add multiple sections/forms to your WPUF Account. See the below example:
/* Add custom Post Form on the My Account Page */
// filter/hook to add/modify WPUF Account page's tab/section
add_filter('wpuf_account_sections',function ($sections){
$sections['event-form'] = 'Event Form'; // add new tab called "Event Form" on the Account page
return $sections;
},999);
// add event form shortcode to render on the WPUF Account page's tab
add_action( 'wpuf_account_content_event-form', 'wpuf_my_event_form_section', 10, 3 );
function wpuf_my_event_form_section( $sections, $current_section ) {
echo do_shortcode('[wpuf_form id="814"]'); //insert your post form shortcode here
}
I hope this will helps.
Thanks.