LLMS_Notification_Controller_Course_Complete::action_callback( int $student_id = null, int $course_id = null )

Callback function called when a course is completed by a student

Parameters Parameters


(int) (Optional) WP User ID of a LifterLMS Student

Default value: null


(int) (Optional) WP Post ID of a LifterLMS Course

Default value: null

Top ↑

Return Return


Top ↑

Source Source

File: includes/notifications/controllers/class.llms.notification.controller.course.complete.php

	public function action_callback( $student_id = null, $course_id = null ) {

		$this->user_id = $student_id;
		$this->post_id = $course_id;
		$this->course  = llms_get_post( $course_id );



Top ↑

Changelog Changelog

Version Description
3.8.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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