Codex

sports_bench_before_game_preview

Adds in the HTML or styles for before the game preview section.

Parameters

  • string $html — The incoming HTML or styles for the section.
  • Team $away_team — The away team object.
  • Team $home_team — The home team object.

Returns

  • string — The elements and styles to be shown before the section.

Since: 2.0

Source

  • /includes/classes/base/class-games.php — 287