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.

Scoreboard::is_game_time_set( $time )

Checks to see if the game time has been set for a game.

Parameters

  • DateTime $time — The datetime object for the game date/time.

Returns

  • bool — Whether a time has been set for the game.

Since: 2.0

Source

  • /includes/classes/base/class-scoreboard.php — 320