LLMS_Notification_Controller_Upcoming_Payment_Reminder::set_additional_options( string $type )

Set array of additional options to be added to the notification view in the admin panel


Parameters Parameters

$type

(string) (Required) Type of the notification.


Top ↑

Return Return

(array)


Top ↑

Source Source

File: includes/notifications/controllers/class.llms.notification.controller.upcoming.payment.reminder.php

	protected function set_additional_options( $type ) {

		return array(
			array(
				'id'                => $this->get_option_name( $type . '_reminder_days' ),
				'title'             => __( 'Reminder days', 'lifterlms' ),
				'desc'              => '<br>' . __( 'The number of days before the upcoming payment due date when to notify the customer.', 'lifterlms' ),
				'type'              => 'number',
				'value'             => $this->get_reminder_days( $type ),
				'custom_attributes' => array(
					'min' => 1,
				),
			),
		);

	}


Top ↑

Changelog 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.