Clanbite

clanbite_relocate_team_challenge_logo_to_match_dir( int $attachment_id, int $challenged_team_id, int $match_id ): bool

Move a challenge-logo attachment into the match directory and refresh metadata.

Parameters

$attachment_id (int) Required

Attachment to move.

$challenged_team_id (int) Required

Challenged team ID (must match CLANBITE_TEAM_CHALLENGE_LOGO_TEAM_META).

$match_id (int) Required

New match ID.

Returns

bool True when the file now lives under the match directory (or already did).

Defined in inc/clanbite-team-challenge-uploads.php