Hide Setting and Announcement Button for Users


Home Forums Front End PM PRO Hide Setting and Announcement Button for Users

This topic is: Not Resolved
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #20357
    Ernesto Cachan
    Participant

    How can Hide Setting and Announcement Button for Users, I want a clean Interface for my Costumers
    Thanks
    Cachan

    #20386
    Shamim Hasan
    Keymaster

    Add following code in your theme’s (child theme’s if you are using) functions.php

    add_filter('fep_menu_buttons', function( $menu ){
    	unset( $menu['settings'], $menu['announcements'] );
    	return $menu;
    }, 99);
    
Viewing 2 posts - 1 through 2 (of 2 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.