Skip to content

Commit

Permalink
fix(settings): Fix build for settings link
Browse files Browse the repository at this point in the history
  • Loading branch information
mfilip committed Jun 25, 2024
1 parent 239769c commit 6e57c1a
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,9 @@
add_filter( 'plugin_action_links_' . plugin_basename(__FILE__), 'add_action_links' );

function add_action_links ( $actions ) {
$link = admin_url("admin.php?page=wc-settings&tab=integration&section=idealpostcodes");
$mylinks = array(
'<a href="/wp-admin/admin.php?page=wc-settings&tab=integration&section=idealpostcodes">Settings</a>',
'<a href="'.$link.'">Settings</a>',
);
$actions = array_merge( $actions, $mylinks );
return $actions;
Expand Down

0 comments on commit 6e57c1a

Please sign in to comment.