learndash_report_clear_user_activity_by_types( int $user_id, array $activity_types = '' )
Clears user activity by user id and activity type for the report.
(int) (Optional) The ID of the user to delete activity. Default 0.
(array) (Optional) The type of the activity to delete. Any combination of the following: 'access', 'course', 'lesson', 'topic', 'quiz'.
Default value: ''