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. Admin::sanitize_toast_duration_custom()

Clanbite Since 1.5.0

sanitize_toast_duration_custom( mixed $value ): int

Sanitize the custom popup length: whole seconds within clanbite_toast_custom_duration_range().

public

Class: Kernowdev\Clanbite\Extensions\Notifications\Admin

Parameters

$value (mixed) Required

Raw value.

Returns

int

Defined in inc/extensions/notifications/class-extension-notifications-admin.php

Changelog

VersionDescription
1.5.0Introduced.

In this article

  • Parameters
  • Returns
  • Changelog
  • 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