Load league table and player list option in teams

This commit is contained in:
Brian Miyaji
2016-04-08 15:28:31 +10:00
parent 808ef62fdb
commit ef57de9eab
3 changed files with 34 additions and 12 deletions

View File

@@ -146,18 +146,6 @@ class SP_Templates {
'action' => 'sportspress_output_team_staff',
'default' => 'yes',
),
'lists' => array(
'title' => __( 'Player Lists', 'sportspress' ),
'option' => 'sportspress_team_show_lists',
'action' => 'sportspress_output_team_lists',
'default' => 'yes',
),
'tables' => array(
'title' => __( 'League Tables', 'sportspress' ),
'option' => 'sportspress_team_show_tables',
'action' => 'sportspress_output_team_tables',
'default' => 'yes',
),
) )
),
'table' => array_merge(