Codex

sports_bench_player_shortcode_information

Displays the information about the player for the shortcode.

Parameters

  • string $html — The current HTML for the filter.
  • Player $player — The Player object the shortcode is for.
  • int $team_id — The current team id of the team the player plays for.

Returns

  • string — The HTML to show the information about the player.

Since: 2.0

Source

  • /blocks/class-sports-bench-blocks.php — 466
  • /public/partials/shortcodes/player.php — 64