Clanbite

delete_by_object( string $object_type, int $object_id ): int

Delete notifications by object (e.g., when a team is deleted).

public static

Class: Kernowdev\Clanbite\Extensions\Notification\Notification_Data_Access

Parameters

$object_type (string) Required

Object type.

$object_id (int) Required

Object ID.

Returns

int Number deleted.

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