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)
Source Source
File: includes/notifications/class.llms.notifications.php
* @return void
*/
public function mark_displayed_basics_as_read() {
if ( $this->displayed ) {
foreach ( $this->displayed as $notification ) {
$notification->set( 'status', 'read' );
}
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 3.36.1 | Introduced. |