1
2
<?php
Simple snippet to remove items from the admin. The main bit is the following:
$remove_menu_items = array(__('Posts'), __('Media'), __('Comments'));
Items available for removal: Media, Pages, Appearance, Plugins, Users, Tools and Settings.
$remove_menu_items = array(__('Posts'), __('Media'), __('Comments'));
Items available for removal: Media, Pages, Appearance, Plugins, Users, Tools and Settings.
Be the first to comment
You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.