Clanbite Notifications

do_action( 'clanbite_notification_status_changed', int $notification_id, string $status )

Fires after a notification status is updated.

Action PHP

Parameters

$notification_id (int)

Notification ID.

$status (string)

New status.

Example

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

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