/**
*WordPress 禁止切换主题
*https://www.weixiaoduo.com/disable-change-theme/
*/
functionBing_disable_change_theme(){
global$submenu,$userdata;
get_currentuserinfo();
if($userdata->ID!=1)unset($submenu['themes.php'][5]);
}
add_action('admin_init','Bing_disable_change_theme');