sports_bench_after_game_shortcode

Adds in HTML to be shown after the 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 — 633
  • /public/partials/shortcodes/game.php — 115