apply_filters( 'sports_bench_scoreboard_right', $html, $location )
Type
Filters
Section
Scoreboard
Outputs the HTML for the left side of the scoreboard navigation
Parameters
- $html, string, current HTML for the right side div
- $location, string, whether this for the scoreboard bar, widget or page
Returns
- string, the HTML for the right side of the scoreboard navigation
Since: 1.5
Source: scoreboard.php, line 83, 397
Example
/** * Returns the arrow for the right 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_right_arrow( $default, $location ) { return ''; } add_filter( 'sports_bench_scoreboard_right', 'sports_bench_scoreboard_right_arrow', 10, 2 );