Determine if the notification subscriber is the user who triggered the notification

Return Return


Top ↑

Source Source

File: includes/abstracts/llms.abstract.notification.view.php

	protected function is_for_self() {
		return ( $this->subscriber->get_id() === $this->user->get_id() );

Top ↑

Changelog Changelog

Version Description
3.8.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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