apply_filters( 'learndash_user_can_bypass', boolean $can_bypass, int $user_id, string $context, array $args )
Filters user can bypass logic.
Description #
Parameters #
- $can_bypass
-
(boolean) Whether the user can bypass $context.
- $user_id
-
(int) User ID.
- $context
-
(string) The specific action to check for.
- $args
-
(array) array of args related to the context. Typically starting with an step ID, Course ID, etc.
Source #
Changelog #
Version | Description |
---|---|
3.2.0 | Introduced. |