mirror of
https://github.com/inretio/WordPress-Plugin-Boilerplate
synced 2024-12-22 11:53:53 +02:00
Replace plugin-name with $this->plugin_slug in add_action_links()
This commit is contained in:
parent
895240626a
commit
bbc070e7a7
1 changed files with 1 additions and 1 deletions
|
@ -331,7 +331,7 @@ class Plugin_Name {
|
|||
|
||||
return array_merge(
|
||||
array(
|
||||
'settings' => '<a href="' . admin_url( 'plugins.php?page=plugin-name' ) . '">' . __( 'Settings', $this->plugin_slug ) . '</a>'
|
||||
'settings' => '<a href="' . admin_url( 'plugins.php?page=' . $this->plugin_slug ) . '">' . __( 'Settings', $this->plugin_slug ) . '</a>'
|
||||
),
|
||||
$links
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue