LLMS_Notifications::mark_displayed_basics_as_read()

Record notifications as read.


Description Description

Ensures that notifications are not missed due to redirects that happen after wp.


Return Return

(void)


Top ↑

Source Source

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

	public function mark_displayed_basics_as_read() {

		if ( $this->displayed ) {
			foreach ( $this->displayed as $notification ) {
				$notification->set( 'status', 'read' );
			}
		}

	}

Top ↑

Changelog Changelog

Changelog
Version Description
3.36.1 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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