apply_filters( 'sensei_learner_enrolled_courses_args', $query_args, $user_id ) → {array}
Filters the arguments of the query which fetches a learner's enrolled courses.
Parameters:
Name | Type | Description |
---|---|---|
$query_args |
array | The query args. |
$user_id |
int | The user id. |
- Since:
- 3.3.0
- Source:
Returns:
Query arguments.
- Type
- array