Class: \Conifer\Authorization\UserRoleShortcodePolicy

A ShortcodePolicy that filters content based on the current user's role

Visibility Function
public decide(array $atts, \string $content, \Timber\User $user)</strong> : bool whether $user meets the criteria described in $atts
Determine whether the user has access to content based on shortcode attributes, user data, and possibly the content itself.

This class extends \Conifer\Authorization\ShortcodePolicy

This class implements \Conifer\Authorization\PolicyInterface

results matching ""

    No results matching ""