sports_bench_before_player_stats

Adds in HTML to be shown before the player stats.

Parameters

  • string $html — The current HTML for the filter.
  • Player $player — The Player object the stats are for.

Returns

  • string — HTML to be shown before the stats.

Since: 2.0

Source

  • /blocks/class-sports-bench-blocks.php — 518
  • /public/partials/shortcodes/player-page.php — 41