sports_bench_before_player_shortcode

Adds in HTML to be shown before the player shortcode.

Parameters

  • string $html — The current HTML for the filter.
  • Player $player — The Player object the shortcode is for.

Returns

  • string — HTML to be shown before the shortcode.

Since: 2.0

Source

  • /blocks/class-sports-bench-blocks.php — 453
  • /public/partials/shortcodes/player.php — 51