LLMS_Student::get_notification_subscription( string $type, string $trigger, string $default = 'no' )
Retrieve a user’s notification subscription preferences for a given type & trigger
Description Description
Parameters Parameters
- $type
-
(Required) notification type: email, basic, etc...
- $trigger
-
(Required) notification trigger: eg purchase_receipt, lesson_complete, etc...
- $default
-
(Optional) value to return if no setting is saved in the db
Default value: 'no'
Return Return
(string) yes or no
Source Source
File: includes/models/model.llms.student.php
Changelog Changelog
Version | Description |
---|---|
3.10.0 | Introduced. |