我目前正在使用此功能隐藏后期编辑屏幕上的屏幕选项选项卡。。。
add_filter(\'screen_options_show_screen\', \'remove_screen_options\');
function remove_screen_options(){
return current_user_can( \'manage_options\' );
}
这是工作得很好,但如果有人以前禁用了屏幕选项,那么它就会丢失,他们无法将其恢复。是否有办法强制检查所有用户的所有屏幕选项?