Documentation

The codex has been updated for Sports Bench 2.0 which is slated for an early September release. This is to help those who have made their own customizations get ready for the 2.0 release which will be radically different from a code perspective. Learn more about the changes you can expect with the code in Sports Bench 2.0.

apply_filters( 'sports_bench_before_standings_widget_container', $html, $type, $division_id )

Adds in HTML to be shown before the standings widget container.

Parameters

  • string $html — The current HTML for the filter.
  • string $type — The type of standing that is being shown.
  • int $division_id — The id of the division or conference being shown that is being shown.

Returns

  • string — HTML to be shown before the widget container.

Since: 2.0

Source

  • /public/partials/widgets/standings-widget.php — 76, 116, 143