Explicitly set no subscribers for the new upcoming payment reminder notification

Return Return

(bool) True if it needs to run again, false otherwise.

Top ↑

Source Source

File: includes/functions/updates/llms-functions-updates-520.php

function llms_update_520_upcoming_reminder_notification_backward_compat() {

	$subscribers_for_type = array(
		'email' => array(
		'basic' => array(

	foreach ( $subscribers_for_type as $type => $subscribers ) {
		add_option( "llms_notification_upcoming_payment_reminder_{$type}_subscribers", array_fill_keys( $subscribers, 'no' ) );

	return false;


Top ↑

Changelog Changelog

Version Description
5.2.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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