Move general modules to new section
This commit is contained in:
@@ -23,6 +23,32 @@ class SP_Modules {
|
|||||||
*/
|
*/
|
||||||
public function __construct() {
|
public function __construct() {
|
||||||
$this->data = apply_filters( 'sportspress_modules', array(
|
$this->data = apply_filters( 'sportspress_modules', array(
|
||||||
|
'general' => array(
|
||||||
|
'tutorials' => array(
|
||||||
|
'label' => __( 'Tutorials', 'sportspress' ),
|
||||||
|
'icon' => 'dashicons dashicons-video-alt3',
|
||||||
|
),
|
||||||
|
'overview' => array(
|
||||||
|
'label' => __( 'Overview', 'sportspress' ),
|
||||||
|
'icon' => 'dashicons dashicons-networking',
|
||||||
|
),
|
||||||
|
'widgets' => array(
|
||||||
|
'label' => __( 'Widgets', 'sportspress' ),
|
||||||
|
'icon' => 'dashicons dashicons-admin-generic',
|
||||||
|
),
|
||||||
|
'importers' => array(
|
||||||
|
'label' => __( 'Importers', 'sportspress' ),
|
||||||
|
'icon' => 'sp-icon-import',
|
||||||
|
),
|
||||||
|
'twitter' => array(
|
||||||
|
'label' => __( 'Twitter', 'sportspress' ),
|
||||||
|
'class' => 'SportsPress_Twitter',
|
||||||
|
'action' => __( 'Tweet #SportsPress', 'sportspress' ),
|
||||||
|
'link' => 'http://tboy.co/tweet',
|
||||||
|
'tip' => __( 'Help spread the word by tweeting with #SportsPress and get the Twitter module for free.', 'sportspress' ),
|
||||||
|
'icon' => 'dashicons dashicons-twitter',
|
||||||
|
),
|
||||||
|
),
|
||||||
'event' => array(
|
'event' => array(
|
||||||
'calendars' => array(
|
'calendars' => array(
|
||||||
'label' => __( 'Calendars', 'sportspress' ),
|
'label' => __( 'Calendars', 'sportspress' ),
|
||||||
@@ -82,26 +108,6 @@ class SP_Modules {
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
'other' => array(
|
'other' => array(
|
||||||
'tutorials' => array(
|
|
||||||
'label' => __( 'Tutorials', 'sportspress' ),
|
|
||||||
'icon' => 'dashicons dashicons-video-alt3',
|
|
||||||
),
|
|
||||||
'widgets' => array(
|
|
||||||
'label' => __( 'Widgets', 'sportspress' ),
|
|
||||||
'icon' => 'dashicons dashicons-welcome-widgets-menus',
|
|
||||||
),
|
|
||||||
'importers' => array(
|
|
||||||
'label' => __( 'Importers', 'sportspress' ),
|
|
||||||
'icon' => 'sp-icon-import',
|
|
||||||
),
|
|
||||||
'twitter' => array(
|
|
||||||
'label' => __( 'Twitter', 'sportspress' ),
|
|
||||||
'class' => 'SportsPress_Twitter',
|
|
||||||
'action' => __( 'Tweet #SportsPress', 'sportspress' ),
|
|
||||||
'link' => 'http://tboy.co/tweet',
|
|
||||||
'tip' => __( 'Help spread the word by tweeting with #SportsPress and get the Twitter module for free.', 'sportspress' ),
|
|
||||||
'icon' => 'dashicons dashicons-twitter',
|
|
||||||
),
|
|
||||||
'branding' => array(
|
'branding' => array(
|
||||||
'label' => __( 'Branding', 'sportspress' ),
|
'label' => __( 'Branding', 'sportspress' ),
|
||||||
'class' => 'SportsPress_Branding',
|
'class' => 'SportsPress_Branding',
|
||||||
|
|||||||
Reference in New Issue
Block a user