fbpx

How to Remove Menus From the WordPress Dashboard

The WordPress codex is full of fun things that you can experiment with. Have you ever wanted to remove a menu page from the WordPress dashboard to prevent clients getting confused by the settings menu? Blow the dust off of your handy codex and check out the function references for removing menu pages.

Here’s what you’re looking for:

<?php remove_menu_page( $menu_slug ) ?>

Replace the menu slug with the name of the php script for the menu item you want to remove.

Here’s a quick example. Let’s say you want to remove the posts menu. Who needs to write posts?

This post was originally published on this site

GET UP TO $500K IN BUSINESS FUNDING

Pin It on Pinterest

Share This
Xiphos Web Marketing

FREE
VIEW