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