Add a Settings Link to Your Plugin
Once you've created an options page for your plugin and added it to the admin menus, it's very easy to add a link right on the 'Manage Plugins' page in front of the other links displayed below your plugin's name.
// When the plugin loads
$plugin = plugin_basename(__FILE__);
$this->unique_id = my-plugin-text-domain;
add_action('admin_menu', array($this, 'add_admin_menu') );
add_filter("plugin_action_links_$plugin", array($this, 'add_settings_link') );
// add the settings link
function add_settings_link($links) {
$settings_link = '‹a href="options-general.php?page='.$this->unique_id.'"›'._('Settings').'‹/a›';array_unshift( $links, $settings_link );return $links;
}
