Skip to main content

Home/ Wordpress/ Group items tagged menu admin

Rss Feed Group items tagged

Vernon Fowler

A Guide to WordPress Custom Post Types: Creation, Display and Meta Boxes | Wptuts+ - 0 views

  • 'menu_icon' => plugins_url( 'images/image.png', __FILE__ ) displays the admin menu icon.
  • Save a 16×16 pixel icon image in your current plugin folder.
JR Oakes

How to remove menus in WordPress dashboard - 6 views

  • function remove_menus () { global $menu; $restricted = array(__('Dashboard'), __('Posts'), __('Media'), __('Links'), __('Pages'), __('Appearance'), __('Tools'), __('Users'), __('Settings'), __('Comments'), __('Plugins')); end ($menu); while (prev($menu)){ $value = explode(' ',$menu[key($menu)][0]); if(in_array($value[0] != NULL?$value[0]:"" , $restricted)){unset($menu[key($menu)]);} } } add_action('admin_menu', 'remove_menus');
  •  
    Remove Admin Menu Items
1 - 4 of 4
Showing 20 items per page