Codex

sports_bench_border_top_colors

Adds in top border colors for a div based on the entered teams.

Parameters

  • int $team_one_id — The ID for the first team.
  • int|null $team_two_id — The ID for the second team.
  • int|null $div — The ID of the div the border is for.

Returns

  • string — Styling for the top border of the div.

Since: 2.0

Source

  • /includes/functions/display.php — 51