The codex has been updated for Sports Bench 2.0 which is slated for an early September release. This is to help those who have made their own customizations get ready for the 2.0 release which will be radically different from a code perspective. Learn more about the changes you can expect with the code in Sports Bench 2.0.

apply_filters( 'sports_bench_rivalry_shortcode_recent_row', $styles, $game_id, $away_team, $home_team )

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


  • 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.


  • string — Styles for the table row.

Since: 2.0


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