Remove wp-admin screen options and help tabs.
- Parent items remove child items.
- For concise documentation,
option.[x, y]
has been abbreviated fromoption.x, option.y
.
<?php
return [
'wp-admin.$role|$username' => [
'common.tabs',
'common.tabs.screen-options',
'common.tabs.screen-options.[pagination, view-mode]',
'common.tabs.help',
'common.tabs.help.[
overview,
navigation,
layout,
content,
screen-content,
available-actions,
bulk-actions,
adding-terms,
managing-pages,
available-actions,
attaching-files,
sidebar,
moderating-comments,
adding-themes,
preview-customize,
removing-reusing,
missing-widgets,
custom-html-widget,
menu-management,
editing-menus,
troubleshooting,
adding-plugins,
user-roles,
converter,
post-email,
update-services,
visibility,
permalink-settings,
custom-structures,
]',
];
Remove screen options and help tabs;
<?php
return [
'wp-admin.$role|$username' => [
'common.tabs',
],
];
Remove screen options tab;
<?php
return [
'wp-admin.$role|$username' => [
'common.tabs.screen-options',
],
];
Remove help tab;
<?php
return [
'wp-admin.$role|$username' => [
'common.tabs.help',
],
];