Jeff Adanac

Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: Remove “New Announcement” Link from Menu #38434
    Jeff Adanac
    Participant

    That worked! a misplaced close on the if statement. Rookie mistake. Thank you very much. Another question, is there a way to filter the list of recipient roles to ‘subscribers’ only when creating a new announcement?

    in reply to: Remove “New Announcement” Link from Menu #38426
    Jeff Adanac
    Participant

    Thanks Shamim! Yes that’s what I was hoping to be the case but my issue is that my function above makes the whole menu disappear, rather than just the “New Announcement” menu button. Can you see anything wrong with my function that might cause this?

    in reply to: Remove “New Announcement” Link from Menu #38397
    Jeff Adanac
    Participant

    Thanks for your reply Shamim! Actually I’m looking to allow non-admin users with manage_options caps to see the “New Announcement” button and be able to create new announcements. All other roles (except) admin need to be prevented from doing so. Can you recommend a way to do this?

    Thanks so much!

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