-
Home
-
User Verification – Users prove they are real humans.
- Tips
How to Hide the "Trusted Accounts" Admin Menu
function plt_hide_trusted_accounts_menus() {
//Hide the "Trusted Accounts" menu.
remove_menu_page('User Verification with Trusted Accounts');
}
add_action('admin_menu', 'plt_hide_trusted_accounts_menus', 11);
Where do I put this code?
How to Hide the "Trusted Accounts" Meta Box
function plt_hide_trusted_accounts_metaboxes() {
$screen = get_current_screen();
if ( !$screen ) {
return;
}
//Hide the "Trusted Accounts" meta box.
remove_meta_box('ta-1', $screen->id, 'advanced');
}
add_action('add_meta_boxes', 'plt_hide_trusted_accounts_metaboxes', 20);