Setting link for wordpress plugin

This tutorial will help you to set the "settings" link to your plugin in plugin list page "../wp-admin/plugins.php". I added one function "add_settings_link_to_your_plugins" to set the setting link and i called this function using add_filter() method.
// Add settings link to your wordpress plugin page
function add_settings_link_to_your_plugins($links) { 
  $settings_link = '
                                                    Settings'; 
  array_unshift($links, $settings_link); 
  return $links; 
}
 
$pluginurl = plugin_basename(__FILE__); 
add_filter(
        "plugin_action_links_$pluginurl", 
        'add_settings_link_to_your_plugins' 
    );