apply_filters( 'sports_bench_before_scoreboard_game', $html, $game_id, $away_team, $home_team )

Type

Filters

Section

Scoreboard

Outputs the HTML for before a game in the scoreboard template

Parameters

  • $html, string, the current HTML for the game
  • $game_id, integer, the game id for the game that's being used
  • $away_team, Sports_Bench_Team object, the team object for the away team
  • $home_team, Sports_Bench_Team object, the team object for the home team

Returns

  • string, the HTML for before the game in the scoreboard template

Since: 1.5

Source: scoreboard.php, line 651