sports_bench_player_stats_table

Returns the HTML for the player stats table.

Parameters

  • string $html — The incoming HTML for the table.
  • Player $player — The player object to get the stats table for.
  • string $sport — The sport the website is using.
  • array $seasons — The list of season stats to use in the table.

Returns

  • string — The HTML for the player stats table.

Since: 2.0

Source

  • /includes/classes/base/class-players.php — 178