delete_by_object( string $object_type, int $object_id ): intDelete notifications by object (e.g., when a team is deleted).
public static
Class: Kernowdev\Clanbite\Extensions\Notification\Notification_Data_Access
Parameters
$object_type(string) RequiredObject type.
$object_id(int) RequiredObject ID.
Returns
int Number deleted.
Defined in inc/extensions/notifications/class-notification-data-access.php