so what I'm hoping is possible is to search in CONTEXT_SYSTEM and determine a user's role. I don't want to use a has_capability() because that feels more like a hack to me than actually checking a user's system role.
I found in the documentation that there's load_defaultuser_role() to call the permissions, but is there a way to check what that role actually is?
I'm imagining it looking something like this:
if (!defaultuser_role('Student' || 'Guest')) { echo "Teachers/Admins can see this"; }anything like that exist?