Add option to choose individual/team mode per event

This commit is contained in:
Brian Miyaji
2017-03-16 13:49:51 +11:00
parent 6078dcd534
commit b6f79cec13
25 changed files with 253 additions and 326 deletions

View File

@@ -172,6 +172,13 @@ class SportsPress_League_Tables {
'priority' => 'high',
);
$meta_boxes['sp_table'] = array(
'mode' => array(
'title' => __( 'Mode', 'sportspress' ),
'save' => 'SP_Meta_Box_Table_Mode::save',
'output' => 'SP_Meta_Box_Table_Mode::output',
'context' => 'side',
'priority' => 'default',
),
'shortcode' => array(
'title' => __( 'Shortcode', 'sportspress' ),
'output' => 'SP_Meta_Box_Table_Shortcode::output',