WordPress.org

Forums

YouTube Embed
[resolved] Remove Youtube Admin Panel item (4 posts)

  1. Mr Press
    Member
    Posted 2 years ago #

    How can Youtube menu item be removed from admin area since it has no functionality for user roles without plugin capabilities?

    function remove_menu_items() {
      global $menu;
      $restricted = array(__('Links'), __('Comments'), __('Media'),
      __('Plugins'), __('Tools'), __('Users'));

    Thanks

    http://wordpress.org/extend/plugins/youtube-embed/

  2. dartiss
    Member
    Plugin Author

    Posted 2 years ago #

    You are correct. I'll make a change to the next release.

    The reason for it, though, was because if you have my Artiss README Parser plugin in use, the instructions would appear as a menu option - these are useful for all users. However, if you don't then, as you say, it doesn't make sense to appear.

    David.

  3. Mr Press
    Member
    Posted 2 years ago #

    Thanks David!

  4. Applian Technologies, Inc.
    Member
    Posted 2 years ago #

    This was fixed in version 3.0.

    Applian.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • YouTube Embed
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic