sports_bench_get_season_stats( $player )

Type

Functions

Section

Stats

Returns the table to display the career stats for a player by season and by team (if player played for multiple teams in a season).

Parameters

  • $player, Sports Bench Player object, required, the player object for the player

Returns

  • string, html to show the player stats table

Since: 1.0

Source: baseball-player-info.php, line 90; basketball-player-info.php, line 62; football-player-info.php, line 46; hockey-player-info.php, line 63; rugby-player-info.php, line 25; soccer-player-info.php, line 64; volleyball-player-info.php, line 49