Home › Forums › Front End PM PRO › Need to hide or disable the buttons for settings and announcements › Reply To: Need to hide or disable the buttons for settings and announcements
July 23, 2019 at 10:57 am
#27159
Shamim Hasan
Keymaster
You can 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);
It will remove for all users. If you want to hide for certain role you can let me know from which role you want to hide.