Front End PM – Ultimate Member Integration – Account “Message” Tab


Home Forums Front End PM PRO Front End PM – Ultimate Member Integration – Account “Message” Tab

This topic is: Resolved
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #15330
    STEVE
    Participant

    Hello @shamim

    I understand that using the “Front End PM – Ultimate Member Integration” puts a “Message” Tab on the Ultimate Member account page, as seen below.

    Message Tab

    I find this “Message” tab to be confusing for my users and would prefer to hide it. Can you please let me know how I can hide it?

    Thank you

    #15333
    STEVE
    Participant

    Sorry that image link didn’t work. Let’s see if this one will…

    Message Tab

    #15352
    Shamim Hasan
    Keymaster

    Which one? All of them?

    #15356
    STEVE
    Participant

    I’m hoping to remove or hide the tab with the envelope icon, the one under the tab with the * astrik icon. This way my users can not click the Envelope and therefore will not see the two buttons that say “Message”.

    Thanks

    #15372
    Shamim Hasan
    Keymaster

    Add following code in your theme’s (child theme’s if any) functions.php

    add_filter( 'um_account_page_default_tabs_hook', function( $tabs ){
    	unset( $tabs[800]['fep-um'] );
    	return $tabs;
    }, 110 );
    
    #15374
    STEVE
    Participant

    Worked perfect!

    Thank you!

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

You need to purchase ‘Front End PM PRO’ to create topic in this support forum.

If you already purchased ‘Front End PM PRO’ please LOGIN.