Clanbite

delete( Team $team, bool $force = false ): bool

Trash or permanently delete the team post.

public abstract

Class: Kernowdev\Clanbite\Extensions\Teams\Team_Data_Store

Parameters

$team (Team) Required

Team to remove.

$force (bool) Optional

When true, skip trash.

Default: false

Returns

bool True on success.

Defined in inc/extensions/teams/interface-team-data-store.php