apply_filters( 'sports_bench_scoreboard_left', $html, $location )

Type

Filters

Section

Scoreboard

Outputs the HTML for the left side of the scoreboard navigation

Parameters

  • $html, string, current HTML for the left side div
  • $location, string, whether this for the scoreboard bar, widget or page

Returns

  • string, the HTML for the left side of the scoreboard navigation

Since: 1.5

Source: scoreboard.php, line 67, 387

Example

/**
 * Returns the arrow for the left arrow for the Sports Bench Scoreboard
 *
 * @param $default, the default arrow
 *
 * @param $location, the location of the arrow — scoreboard bar, page or widget
 *
 * @return string, the arrow for the scoreboard
 *
 * @since 1.5
 */
function sports_bench_scoreboard_left_arrow( $default, $location ) {
    return '';
}
add_filter( 'sports_bench_scoreboard_left', 'sports_bench_scoreboard_left_arrow', 10, 2 );