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::mark_all_read()

Clanbite

mark_all_read( int $user_id ): int

Mark all notifications as read for a user.

public static

Class: Kernowdev\Clanbite\Extensions\Notification\Notification_Data_Access

Parameters

$user_id (int) Required

User ID.

Returns

int Number of notifications marked read.

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