Plugin action links - add link to Settings page
This commit is contained in:
parent
1980a2c749
commit
d3e004a53e
@ -21,6 +21,12 @@ new PluginCore(
|
|||||||
__FILE__,
|
__FILE__,
|
||||||
[
|
[
|
||||||
'update_checker' => true,
|
'update_checker' => true,
|
||||||
|
'action_links' => [
|
||||||
|
'settings' => [
|
||||||
|
'text' => 'Settings',
|
||||||
|
'href' => 'menu_page' // reserved option_name
|
||||||
|
],
|
||||||
|
],
|
||||||
'admin_page' => [
|
'admin_page' => [
|
||||||
'parent' => 'options',
|
'parent' => 'options',
|
||||||
'render' => 'settings-page', // built-in settings page
|
'render' => 'settings-page', // built-in settings page
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user