Created
January 4, 2017 09:52
-
-
Save seoindex/dc7d37a800f0de17da70bf748cfcd5eb to your computer and use it in GitHub Desktop.
Nascondere un menu dalla sidebar admin per tutti gli utenti tranne che per l'amministratore
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function remove_menus(){ | |
remove_menu_page( 'vc-welcome' ); | |
} | |
add_action( 'admin_menu', 'remove_menus' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment