O'Reilly logo

WordPress 3 Plugin Development Essentials by Everett Griffiths, Brian Bondari

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating a settings shortcut link

One of the problems encountered by users is that a plugin's settings may be difficult to locate. It's not immediately clear if a new menu item has been added when a user first activates a plugin. That's the problem we are going to solve by adding a Settings link that takes us to our plugin's administration page.

Creating a settings shortcut link

How did we do that? Well, it turns out that the information for each plugin is printed via a process that we can modify using a WordPress filter. The name of one of these secret filter hooks is plugin_action_links. How did we know that? Thanks to the nature of open-source code, we saw it used in Viper's ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required