Remove “Announcement” Link from Menu


Home Forums Front End PM PRO Remove “Announcement” Link from Menu

This topic is: Resolved
  • This topic has 4 replies, 2 voices, and was last updated 3 months ago by Alf.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #42711
    Alf
    Participant

    Hi,

    Would it be possible to remove “New Announcement” Link from Menu?

    function fep_cus_fep_menu_buttons( $menu )
    {
    unset( $menu[‘settings’] );
    unset( $menu[‘directory’] );
    unset( $menu[‘announcement’] );
    return $menu;
    }

    Is this wrong?

    #42718
    shamim
    Keymaster

    By default “New Announcement” button is shown to admin only. If you want to remove from them also please go to Front End PM PRO > Settings > Security and unchecked “Can permitted users add Announcement from front end?”

    #42720
    Alf
    Participant

    Thank you for your reply.

    I am sorry.
    I want to remove Announcement from Menu instead of New Announcement.

    In that case, the following code is wrong?

    function fep_cus_fep_menu_buttons( $menu )
    {
    unset( $menu[‘settings’] );
    unset( $menu[‘directory’] );
    unset( $menu[‘announcement’] );
    return $menu;
    }

    #42722
    shamim
    Keymaster

    if will be announcements instead of announcement

    #42724
    Alf
    Participant

    Thank you very much!

Viewing 5 posts - 1 through 5 (of 5 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.