1add_filter( 'plugin_action_links_' . plugin_basename(__FILE__), 'add_action_links' );
2
3function add_action_links ( $actions ) {
4 $mylinks = array(
5 '<a href="' . admin_url( 'options-general.php?page=myplugin' ) . '">Settings</a>',
6 );
7 $actions = array_merge( $actions, $mylinks );
8 return $actions;
9}
10