siga
9/4/2016 - 8:39 AM

Hide the Dynamik license page from every user except network admin (from version 1.9.9) Credits: emmtre; http://cobaltapps.club/forum/main-

Hide the Dynamik license page from every user except network admin (from version 1.9.9) Credits: emmtre; http://cobaltapps.club/forum/main-category/general-discussion/87754-dynamik-license-page

//* Hide license page
add_action( 'admin_menu', 'change_admin_menu', 20 );
function change_admin_menu() {
    if ( ! current_user_can( 'update_core' ) ) {
        remove_submenu_page( 'themes.php', 'dynamik_gen-license' );
    }
}