sports_bench_before_game_shortcode

Parameters

  • string $html — The current HTML for the filter.
  • int $game_id — The Player object the stats are for.
  • Team $away_team — The team object for the away team.
  • Team $home_team — The team object for the home team.

Returns

  • string — HTML to be shown before the shortcode.

Since: 2.0

Source

  • /blocks/class-sports-bench-blocks.php — 601
  • /public/partials/shortcodes/game.php — 83