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...).

$object

(object) The object. An LLMS_Course, for example.

$ojbect_id

(int) The object's ID.

$object_type

(string) The object's type.


Top ↑

Source Source

File: includes/models/model.llms.student.php

View on GitHub



Top ↑

Changelog Changelog

Changelog
Version Description
4.2.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.