• 1.
    function remove_admin_menus(){
  • 2.
    	remove_menu_page( 'maxmegamenu' );
  • 3.
    	remove_menu_page( 'envato-market' );
  • 4.
    	remove_menu_page( 'vc-general' );
  • 5.
    }
  • 6.
    add_action( 'admin_init', 'remove_admin_menus' );
function remove_admin_menus(){ remove_menu_page( 'maxmegamenu' ); remove_menu_page( 'envato-market' ); remove_menu_page( 'vc-general' ); } add_action( 'admin_init', 'remove_admin_menus' );

Copy Code to Clipboard Raw

Sign-in or Create a Free Account.

Snippi uses Twitter or Facebook to register and create accounts. Registration will enable you to keep track of your snippets. We never spam your timeline or wall. Ever.

Sign-in with Facebook Sign-in with Twitter