Skip to content
ClanbiteDevelopers
GuidesReferenceREST APIReleases
Clanbite.com

Reference

  • Hooks598
  • Functions491
  • Classes133
  • Methods1,439
  • REST API88
  • Blocks58
  • Abilities22
  • Settings12
  • Messages60
  • Components9
  • Database tables20
  • Releases
  1. Home
  2. Reference
  3. Methods
  4. Notification_Data_Access::delete()

Clanbite

delete( int $notification_id, int $user_id ): bool

Delete a notification.

public static

Class: Kernowdev\Clanbite\Extensions\Notification\Notification_Data_Access

Parameters

$notification_id (int) Required

Notification ID.

$user_id (int) Required

User ID (for permission check).

Returns

bool

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

In this article

  • Parameters
  • Returns
  • View as Markdown
  • Back to top
Generated from the source of every Clanbite release. Something missing or unclear? It is fixed in the code and appears here with the next release.Clanbite.com