If you want to hide for specific users, just change the if statement. eg
if( in_array( $user->ID, [LIST_OF_USER_IDS] ) ) {
...
}
If you want to hide for specific users, just change the if statement. eg
if( in_array( $user->ID, [LIST_OF_USER_IDS] ) ) {
...
}