Browse: Home / Functions /

learndash_notifications_apply_notifications_subscription

learndash_notifications_apply_notifications_subscription( bool $send,  $email,  int $notification_id )

Decide to send notifications to user or not based on user notification subscription settings


Description #


Parameters #

$send

(bool) (Required) True to send|false otherwise

$data

(array) (Required) Notifications data

$notification_id

(int) (Required) ID of LD Notification WP_Post


Return #

(bool) True to send|false otherwise


Source #

File: includes/notifications/includes/notification.php