Clanbite Notifications

do_action( 'clanbite_notification_read', int $notification_id, int $user_id )

Fires after a notification is marked as read.

Action PHP

Parameters

$notification_id (int)

Notification ID.

$user_id (int)

User ID.

Example

add_action( 'clanbite_notification_read', function ( $notification_id, $user_id ) {
	// Run your code.
}, 10, 2 );

Defined in inc/extensions/notifications/class-notification-data-access.php