Division

Used to create a Division object in the Sports Bench Plugin.

To create a new series object, you’ll need to use the Sports_Bench\Classes\Base\Division namespace and then use new Division( $division_id ).

Properties

  • $division_id
  • $division_name
  • $division_conference
  • $division_conference_id
  • $division_color

Class Methods

Parameters

  • int $division_id — The ID of the division to create the object for.

Since: 2.0

Source

  • /includes/classes/base/class-divisions.php — 27