apply_filters( 'llms_mark_complete_parent_data', array $parent_data , object $object , int $ojbect_id , string $object_type )
Filter the parent data used to cascade object completion up to an object’s parent(s).
Parameters Parameters
- $parent_data
-
(array) Array of the object's parent information.
- 'ids'
(int[]) Object ids for the parent object(s). - 'type'
(string) Object type (course, course_track, etc...).
- 'ids'
- $object
-
(object) The object. An
LLMS_Course
, for example. - $ojbect_id
-
(int) The object's ID.
- $object_type
-
(string) The object's type.
Source Source
Changelog Changelog
Version | Description |
---|---|
4.2.0 | Introduced. |