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. Data_Access::trash_topic()

Clanbite Forums

trash_topic( int $topic_id ): void

Trash a topic and adjust counts (replies remain in DB but hidden from public lists).

public static

Class: Kernowdev\ClanbiteForums\Forums\Data_Access

Parameters

$topic_id (int) Required

Topic ID.

Returns

void

Defined in inc/Forums/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