• Resolved skumar1st

    (@skumar1st)


    Found good frontend plugin and using for frontend user login. No need user submitted post, so want to hide/remove “Post” and “Edit Profile” link from account/dashboard page.

    I have unchecked everything, even deleted post form but still showing. Pls see scrennshot

    https://prnt.sc/33WDM46wYgEq
    https://prnt.sc/9tV_slxpEojD

    So please guide, how to remove? Even any delete code from plugin template file.

    Thanks in advance.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @skumar1st

    1) To hide “Post” tab use this filter/hook-

    add_filter('wpuf_account_sections',function ($sections){
        //$sections['post'] = 'Article'; //rename Post Tab to Post to Lists
        unset( $sections['post'] ); //remove a tab (Post) from Account page
    
        return $sections;
    },999);

    2) To hide “Edit Profile,” uncheck this option from the settings- https://ibb.co/hB6KMfx

    Note: 2nd option is a pro feature and we can’t discuss any pro topic in this forum further (forum guidelines).

    Reach us from here: https://wedevs.com/contact for any pro or presales query.
    Thanks!

    Thread Starter skumar1st

    (@skumar1st)

    Thanks for quick reply and its work.
    One more Problem:
    Can I stop email change option for frontend user? Either from any insert/edit/delete code?

    Thanks in advance for help.

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

The topic ‘Hide Post and edit profile tab’ is closed to new replies.