How To Add Plugin Action Links To WordPress?

Plugin action links are the links that appear just below the plugin name in your WP plugins menu, such as “Edit” and “Activate”. Have you ever seen those plugins that have somehow added additional links to that list, such as “Settings” or “Donate”? It’s actually quite simple.

First, we are going to create a function that will display our links.

This function isn’t overly complex, but it’s not extremely simple either. Basically, we do a check to ensure we’re on the right plugin, then we provide a little HTML (the anchor tag) for our link, and then, finally, we add the new link to the list of existing links.

Next, we just need to run our function through a filter, which will make out link actually appear.

And the result should look something like this:

Enjoy!

Pippin Williamson
Pippin Williamson

Pippin Williamson is a WordPress developer based in Lawrence, KS. WordPress is his expertise: custom theme / plugin development, e-commerce solutions, content management, and everything else WordPress. His personal site can be found at PippinsPlugins.com. There he publishes frequent WordPress tutorials, tips and tricks. He also host a variety of his own free WordPress plugins. Join the site and receive member only benefits, including exclusive tutorial access and source file downloads.

FREE EBOOK: How to Build a Wordpress Website

FREE

As a complete beginner!

FREE EBOOK: The Ultimate Guide To Speed Up Your Website and Increase Conversions!

FREE

Site Speed Secretsis a is a step-by-step blueprint about how to speed up your website and increase conversions.