get_team

Gets the team oject for the player’s current team.

Returns

  • Team — The team object for the player’s current team.

Since: 2.0

Source

  • /includes/classes/base/class-player.php — 386