LLMS_Privacy_Erasers::notification_data( string $email_address, int $page )

Erase student notification data by email address


Parameters Parameters

$email_address

(string) (Required) email address of the user to retrieve data for

$page

(int) (Required) process page number


Top ↑

Return Return

([type])


Top ↑

Source Source

File: includes/privacy/class-llms-privacy-erasers.php

	public static function notification_data( $email_address, $page ) {

		$ret = self::get_return();

		$student = parent::get_student_by_email( $email_address );
		if ( ! $student ) {
			return $ret;
		}

		$messages = self::erase_notification_data( $student );
		return self::get_return( $messages, true, ( $messages ) );

	}


Top ↑

Changelog Changelog

Changelog
Version Description
3.18.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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