LLMS_Settings_Notifications::before_save()

Remove test data from $_POST so that it wont be saved to the DB


Description Description


Return Return

(void)


Top ↑

Source Source

File: includes/admin/settings/class.llms.settings.notifications.php

	public function before_save() {

		if ( isset( $_POST['llms_notification_test_data'] ) ) {

			$_POST['llms_notification_test_data_temp'] = $_POST['llms_notification_test_data'];
			unset( $_POST['llms_notification_test_data'] );

		}

	}

Top ↑

Changelog Changelog

Changelog
Version Description
3.24.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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