delete( Team $team, bool $force = false ): boolTrash or permanently delete the team post.
public abstract
Class: Kernowdev\Clanbite\Extensions\Teams\Team_Data_Store
Parameters
$team(Team) RequiredTeam to remove.
$force(bool) OptionalWhen true, skip trash.
Default:
false
Returns
bool True on success.
Defined in inc/extensions/teams/interface-team-data-store.php