Skip to content

Commit

Permalink
switch settings position
Browse files Browse the repository at this point in the history
  • Loading branch information
kilbot committed Dec 27, 2023
1 parent fc8c4f6 commit 2bdc470
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions includes/Admin/Plugins.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,13 @@ public function __construct() {
* 'recently_activated', 'upgrade', 'mustuse', 'dropins', and 'search'.
*/
public function plugin_action_links( array $actions ): array {
$actions['settings'] = '<a href="' . admin_url( 'admin.php?page=woocommerce-pos-settings' ) . '">' .
// translators: wordpress
__( 'Settings' ) . '</a>';
$settings = array(
'settings' => '<a href="' . admin_url( 'admin.php?page=woocommerce-pos-settings' ) . '">' .
// translators: wordpress
__( 'Settings' ) . '</a>',
);

return $actions;
return $settings + $actions;
}

/**
Expand Down

0 comments on commit 2bdc470

Please sign in to comment.