sports_bench_border_top_colors( $team_one_id, $team_two_id = null, $div = null )

Type

Functions

Section

Display

Returns a top border color for the team(s) involved.

Parameters

  • $team_one_id, integer, required, the team id for the first team involved
  • $team_two_id, integer, optional, the team id for the second team involved
  • $div, string, optional, id for the div to affect if two teams are involved

Returns

  • string, the css to show a 2px border top for a div that's one color if one team is called or half and half if two teams are called

Since: 1.0

Source: display-functions.php, line 33