diff --git a/composer.json b/composer.json index 518de3b..667ad0c 100644 --- a/composer.json +++ b/composer.json @@ -10,6 +10,6 @@ ], "require":{ "abuyoyo/screen-meta-links": "~0.11", - "abuyoyo/plugincore": "~0.20" + "abuyoyo/plugincore": "~0.21" } } \ No newline at end of file diff --git a/notice-manager.php b/notice-manager.php index cf13567..8fe11c0 100644 --- a/notice-manager.php +++ b/notice-manager.php @@ -21,6 +21,12 @@ new PluginCore( __FILE__, [ 'update_checker' => true, + 'action_links' => [ + 'settings' => [ + 'text' => 'Settings', + 'href' => 'menu_page' // reserved option_name + ], + ], 'admin_page' => [ 'parent' => 'options', 'render' => 'settings-page', // built-in settings page