sports_bench_before_scoreboard_bar_game

Adds in styles or HTML elements before a scoreboard bar game.

Parameters

  • string $html — The current HTML for what should go before the game.
  • int $game_id — The id of the game.
  • Team $away_team — The away team for the game.
  • Team $home_team — The home team for the game.

Returns

  • string — The styles or HTML elements for before the game.

Since: 2.0

Source

  • /includes/classes/base/class-scoreboard.php — 224