get_points_for

Get the total number of points/runs/goals scored for the team in a given season.

Parameters

  • string $season — The season to get the points/runs/goals scored.

Returns

  • int — The total number of points/runs/goals scored.

Since: 2.0

Source

  • /includes/classes/base/class-team.php — 1023