mirror of
https://github.com/10h30/wp-strava.git
synced 2026-06-05 15:10:01 +09:00
Un-commented the admin menu - if you installed the plugin the menu to retrieve your token would not appear.
This commit is contained in:
+1
-1
@@ -36,7 +36,7 @@ if(file_exists(dirname(__FILE__) . '/lang/' . get_locale() . '.mo' ) ) {
|
||||
}
|
||||
|
||||
// Creating the admin menu options
|
||||
//add_action('admin_menu', '\WP\Strava\wp_strava_plugin_menu');
|
||||
add_action('admin_menu', '\WP\Strava\wp_strava_plugin_menu');
|
||||
|
||||
function wp_strava_plugin_menu() {
|
||||
add_options_page('WP Strava Options', 'WP Strava', 'manage_options', '\WP\Strava\wp-strava-options', '\WP\Strava\wp_strava_plugin_options');
|
||||
|
||||
Reference in New Issue
Block a user