Refactor: delete import csv
This commit is contained in:
@@ -36,24 +36,6 @@ function statpress_add_admin_menu() {
|
||||
'statpress_add_new_page' // Funkcja renderująca stronę dodawania
|
||||
);
|
||||
|
||||
$statpress_plugin_hooks[] = add_submenu_page(
|
||||
'statpress-dashboard',
|
||||
'Typy Wydarzeń',
|
||||
'Typy wydarzeń',
|
||||
'manage_options',
|
||||
'statpress-event-types',
|
||||
'statpress_event_types_page'
|
||||
);
|
||||
|
||||
$statpress_plugin_hooks[] = add_submenu_page(
|
||||
'statpress-dashboard',
|
||||
'Sprzęt',
|
||||
'Sprzęt',
|
||||
'manage_options',
|
||||
'statpress-equipment',
|
||||
'statpress_equipment_page'
|
||||
);
|
||||
|
||||
$statpress_plugin_hooks[] = add_submenu_page(
|
||||
'statpress-dashboard',
|
||||
'Cele',
|
||||
@@ -63,10 +45,6 @@ function statpress_add_admin_menu() {
|
||||
'statpress_goals_page'
|
||||
);
|
||||
|
||||
$statpress_plugin_hooks[] = add_submenu_page(
|
||||
null, 'Dziennik Serwisowy', 'Dziennik Serwisowy', 'manage_options', 'statpress-equipment-details', 'statpress_equipment_details_page'
|
||||
);
|
||||
|
||||
$statpress_plugin_hooks[] = add_submenu_page(
|
||||
null, // Ukryta strona, nie pojawia się w menu
|
||||
'Szczegóły Treningu', // Tytuł strony
|
||||
@@ -103,15 +81,6 @@ function statpress_add_admin_menu() {
|
||||
'statpress_infographic_page' // Funkcja renderująca
|
||||
);
|
||||
|
||||
$statpress_plugin_hooks[] = add_submenu_page(
|
||||
'statpress-dashboard', // Slug rodzica
|
||||
'Import CSV', // Tytuł strony
|
||||
'Import CSV', // Tytuł w podmenu
|
||||
'manage_options', // Wymagane uprawnienia
|
||||
'statpress-import-csv', // Slug podmenu
|
||||
'statpress_import_csv_page' // Funkcja renderująca
|
||||
);
|
||||
|
||||
$statpress_plugin_hooks[] = add_submenu_page(
|
||||
'statpress-dashboard', // Slug rodzica
|
||||
'Ustawienia', // Tytuł strony
|
||||
|
||||
Reference in New Issue
Block a user