I think you could likely do this with a little extra CSS in a custom theme component, but I’d need to be on my laptop to check properly. Hopefully someone can jump in with a more specific answer.
![]()
Hiding it for non-staff with CSS would be cosmetic, so it could still be revealed by a savvy user piddling about in their browser inspector, etc. But if it’s not personal info or security related then this approach is generally considered to be acceptable.
@Rubi I think something like this would do the trick: (though you’d need to put in the correct custom name of your flag rather than custom_inappropriate)
.flag-action-type.custom_inappropriate {
display: none;
}
.staff .flag-action-type.custom_inappropriate {
display: initial;
}
Extra details on how to add it to your site
- Go to
/admin/config/customize/components - Click on install and then create new
- Give it a name, and select ‘component’.
- Create
- Go to Edit and add it to your theme
- Click on the Edit CSS/HTML button and paste the code into the Common tab
And save. ![]()