Codex

sports_bench_rivalry_shortcode_recent_row

Adds in styles for the rivalry recent games table body row.

Parameters

  • string $styles — The incoming styles for the row.
  • int $game_id — The id for the current game.
  • Team $away_team — The team object for the away team.
  • Team $home_team — The team object for the home team.

Returns

  • string — Styles for the table row.

Since: 2.0

Source

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