'hide_help_tab', 'title' => 'Hide Help tab', 'desc' => 'Remove the Help tab for users who are not administrators', 'icon' => 'x', 'risk' => 'safe', 'level' => 'beginner', 'audience' => 'agency', 'priority' => 5, 'benefit' => 'Hides the Help tab, which shows general WordPress documentation, from editors, authors and other non-administrators to reduce clutter. Administrators still see it.', 'help' => 'Removes the Help tab at the top right of admin screens for users without the manage_options capability (normally everyone except administrators).', 'before' => '“Help” tab on admin screens for all users', 'after' => 'Hidden for non-administrators.', 'callback' => function () { add_action( 'admin_head', function () { if ( ! current_user_can( 'manage_options' ) ) { $screen = get_current_screen(); if ( $screen ) { $screen->remove_help_tabs(); } }} );}, );