class PermissionsForum permissions (site-wide and per-forum moderators).
class final
- Full name
Kernowdev\ClanbiteForums\Rest\Permissions
Methods
require_login()require_manage_site()require_moderation_queue()REST: logged-in user with moderation queue access.user_can_access_moderation_queue()Whether the user may open the front-end moderation queue (site managers or any per-forum moderator).user_can_manage_site()Whether the user can manage all forums (create forums, assign moderators).user_can_moderate_forum()Whether the user can moderate a specific forum (edit topics, hide replies).user_meets_wp_moderator_role_gate()Whether the user meets the WordPress “moderator or above” gate for forums moderation UI and actions.
Defined in inc/Rest/Permissions.php