Automatically load videos and countdowns
This commit is contained in:
@@ -28,14 +28,6 @@ class SP_Modules {
|
|||||||
'label' => __( 'Calendars', 'sportspress' ),
|
'label' => __( 'Calendars', 'sportspress' ),
|
||||||
'icon' => 'sp-icon-calendar',
|
'icon' => 'sp-icon-calendar',
|
||||||
),
|
),
|
||||||
'event_videos' => array(
|
|
||||||
'label' => __( 'Videos', 'sportspress' ),
|
|
||||||
'icon' => 'dashicons dashicons-video-alt',
|
|
||||||
),
|
|
||||||
'countdowns' => array(
|
|
||||||
'label' => __( 'Countdowns', 'sportspress' ),
|
|
||||||
'icon' => 'sp-icon-clock',
|
|
||||||
),
|
|
||||||
'tournaments' => array(
|
'tournaments' => array(
|
||||||
'label' => __( 'Tournaments', 'sportspress' ),
|
'label' => __( 'Tournaments', 'sportspress' ),
|
||||||
'class' => 'SportsPress_Tournaments',
|
'class' => 'SportsPress_Tournaments',
|
||||||
|
|||||||
@@ -100,6 +100,4 @@ class SportsPress_Countdowns {
|
|||||||
|
|
||||||
endif;
|
endif;
|
||||||
|
|
||||||
if ( get_option( 'sportspress_load_countdowns_module', 'yes' ) == 'yes' ) {
|
new SportsPress_Countdowns();
|
||||||
new SportsPress_Countdowns();
|
|
||||||
}
|
|
||||||
|
|||||||
@@ -65,6 +65,4 @@ class SportsPress_Event_Videos {
|
|||||||
|
|
||||||
endif;
|
endif;
|
||||||
|
|
||||||
if ( get_option( 'sportspress_load_event_videos_module', 'yes' ) == 'yes' ) {
|
new SportsPress_Event_Videos();
|
||||||
new SportsPress_Event_Videos();
|
|
||||||
}
|
|
||||||
|
|||||||
Reference in New Issue
Block a user