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.
Return Return
(array)
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, ), ), ); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
5.2.0 | Introduced. |