Organize config table
This commit is contained in:
@@ -11,6 +11,8 @@ $sportspress_sports['baseball'] = array(
|
||||
'post_name' => 'w',
|
||||
'meta' => array(
|
||||
'sp_equation' => '$w',
|
||||
'sp_format' => 'integer',
|
||||
'sp_precision' => 1,
|
||||
'sp_priority' => 1,
|
||||
'sp_order' => 'DESC',
|
||||
),
|
||||
@@ -20,6 +22,8 @@ $sportspress_sports['baseball'] = array(
|
||||
'post_name' => 'l',
|
||||
'meta' => array(
|
||||
'sp_equation' => '$l',
|
||||
'sp_format' => 'integer',
|
||||
'sp_precision' => 1,
|
||||
'sp_priority' => 2,
|
||||
'sp_order' => 'ASC',
|
||||
),
|
||||
@@ -29,6 +33,8 @@ $sportspress_sports['baseball'] = array(
|
||||
'post_name' => 'pct',
|
||||
'meta' => array(
|
||||
'sp_equation' => '$w / $eventsplayed',
|
||||
'sp_format' => 'decimal',
|
||||
'sp_precision' => 3,
|
||||
),
|
||||
),
|
||||
array(
|
||||
@@ -36,6 +42,8 @@ $sportspress_sports['baseball'] = array(
|
||||
'post_name' => 'gb',
|
||||
'meta' => array(
|
||||
'sp_equation' => '( $wmax + $l - $w - $lmax ) / 2',
|
||||
'sp_format' => 'decimal',
|
||||
'sp_precision' => 2,
|
||||
),
|
||||
),
|
||||
array(
|
||||
@@ -43,6 +51,8 @@ $sportspress_sports['baseball'] = array(
|
||||
'post_name' => 'rs',
|
||||
'meta' => array(
|
||||
'sp_equation' => '$rfor',
|
||||
'sp_format' => 'integer',
|
||||
'sp_precision' => 1,
|
||||
'sp_priority' => 3,
|
||||
'sp_order' => 'DESC',
|
||||
),
|
||||
@@ -52,6 +62,8 @@ $sportspress_sports['baseball'] = array(
|
||||
'post_name' => 'ra',
|
||||
'meta' => array(
|
||||
'sp_equation' => '$ragainst',
|
||||
'sp_format' => 'integer',
|
||||
'sp_precision' => 1,
|
||||
),
|
||||
),
|
||||
array(
|
||||
@@ -59,6 +71,8 @@ $sportspress_sports['baseball'] = array(
|
||||
'post_name' => 'strk',
|
||||
'meta' => array(
|
||||
'sp_equation' => '$streak',
|
||||
'sp_format' => 'integer',
|
||||
'sp_precision' => 1,
|
||||
),
|
||||
),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user