LLMS_Notification_Controller_Student_Welcome::action_callback( int $user_id = null )
Callback function called when a lesson is completed by a student
Parameters Parameters
- $user_id
-
(int) (Optional) WP_User ID.
Default value: null
Return Return
(void)
Source Source
File: includes/notifications/controllers/class.llms.notification.controller.student.welcome.php
public function action_callback( $user_id = null ) { $this->user_id = $user_id; $this->post_id = null; $this->send(); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.8.0 | Introduced. |