plugin action links
This commit is contained in:
commit
c72d8b3882
@ -10,6 +10,6 @@
|
||||
],
|
||||
"require":{
|
||||
"abuyoyo/screen-meta-links": "~0.11",
|
||||
"abuyoyo/plugincore": "~0.20"
|
||||
"abuyoyo/plugincore": "~0.21"
|
||||
}
|
||||
}
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user