do_action( 'clanbite_notification_inserted', int $notification_id, array $data )Fires after a notification is inserted.
Action PHP
Parameters
$notification_id(int)Notification ID.
$data(array)Notification data.
Example
add_action( 'clanbite_notification_inserted', function ( $notification_id, $data ) {
// Run your code.
}, 10, 2 );Defined in inc/extensions/notifications/class-notification-data-access.php