Add a WordPress Plugin settings link to your WordPress Plugin listing

Here is a cool little snippet that will add a link to your settings for your plugin directly from the plugin listing. Yeah, sounds way to complicated, let me just show you:

and the code in this case for the Simple Aweber Integration:

// Add settings link on plugin page

function your_plugin_settings_link($links) { 

  $settings_link = '<a href="options-general.php?page=simple-aweber-integration.php">Settings</a>'; 

  array_unshift($links, $settings_link); 

  return $links; 

}

$plugin = plugin_basename(__FILE__); 

add_filter("plugin_action_links_$plugin", 'your_plugin_settings_link' );

The only thing you have to do is replace simple-aweber-integration.php with your plugins options page. Just visit your plugins page and it will show you what that page is called.

The ideal day to determination health problem is before any visible sign appears. Actually there isn’t anything you can’t purchase on the Internet anymore. Whereas erectile dysfunction is more common among older men, that doesn’t something you simply have to live with. What about “canadian pharmacy cialis 5 mg” and “cialis canadian pharmacy“? In our generation, there are divers options for those ones who suffer from erectile disfunction. You may have heard about “canadian pharmacy online cialis“. More info about the question available at “canadian pharmacy cialis 20mg“. Why it happen? Can sexual disorders in men be prevented? If you get any prescription remedies like Viagra, check with a druggist that they are sure to take with your other remedies.

The Top 8 WordPress Developer Tools from 5 years experience
(Hint: They cut down my development time in less than half!)

Get the Top Tools Now!

Leave a Reply

Your email address will not be published. Required fields are marked *