Browse: Home / Functions /

learndash_notifications_lesson_available_via_group

learndash_notifications_lesson_available_via_group( int $group_id,  array $group_leaders,  array $group_users,  array $group_courses )

Schedule lesson available notification in DB for users added via group


Description #


Parameters #

$group_id

(int) (Required) Post ID of a group

$group_leaders

(array) (Required) Array of post ID of the object. If no new leader is added in group, this will be empty.

$group_users

(array) (Required) Array of post ID of the object. If no new user is added in group, this will be empty.

$group_courses

(array) (Required) Array of post ID of the object. If no new course is added in group, this will be empty.


Source #

File: includes/notifications/includes/notification.php


Changelog #

Changelog
Version Description
5.2.0 Introduced.