Clanbite Social Kit

class Feed_Permissions

Static permission checks shared by the REST controller and the bundled feed contexts.

Third-party contexts write their own checks in their can_view / can_post callbacks (see Feed_Context). These helpers are public so a context that builds on teams or groups can reuse the exact same rules.

class final

Full name
Kernowdev\ClanbiteSocialKit\Social\Feed_Permissions

Constants

NameValueDescription
TEAM_POST_TYPE'clanbite_team'Team post type registered by core Clanbite.

Methods

Defined in inc/Social/Feed_Permissions.php