LLMS_Settings_Notifications::after_save()
Send a test notification after notification data is saved
Description Description
Return Return
(void)
Source Source
File: includes/admin/settings/class.llms.settings.notifications.php
public function after_save() { if ( isset( $_GET['notification'] ) && isset( $_GET['type'] ) && isset( $_POST['llms_notification_test_data_temp'] ) ) { if ( ! empty( $_POST['llms_notification_test_data_temp'] ) ) { $controller = LLMS()->notifications()->get_controller( $_GET['notification'] ); $controller->send_test( sanitize_text_field( $_GET['type'] ), $_POST['llms_notification_test_data_temp'] ); } } }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.24.0 | Introduced. |
User Contributed Notes User Contributed Notes
Permalink: