Created
January 21, 2019 22:40
-
-
Save tripflex/e32857ecb5132cf53b23366e517d1809 to your computer and use it in GitHub Desktop.
Remove sMyles Licensing menu item and page (WARNING! YOU WILL NOT BE ABLE TO ACTIVE BY REMOVING THIS!)
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
<?php | |
function smyles_remove_smyles_licensing_menu_page() { | |
$page = remove_submenu_page( 'index.php', 'smyles-licenses' ); | |
} | |
add_action( 'admin_menu', 'smyles_remove_smyles_licensing_menu_page', 999 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment