Modularize!

This commit is contained in:
Brian Miyaji
2015-01-28 14:02:35 +11:00
parent aa0eeae6cd
commit 87baaf7288
35 changed files with 1491 additions and 928 deletions

View File

@@ -11,12 +11,6 @@ $options = array(
),
);
if ( 'yes' == get_option( 'sportspress_load_calendars_module', 'yes' ) ) {
$options['event'][] = 'calendar';
$options['event'][] = 'list';
$options['event'][] = 'blocks';
}
if ( 'yes' == get_option( 'sportspress_load_league_tables_module', 'yes' ) ) {
$options['table'] = array( 'table' );
}