Wednesday, July 29, 2015

Making Your WordPress Plugins Even More Developer Friendly

In the last article, we looked at how Actions and Filters can be added to your WordPress plugins to help make them developer friendly.

Today, we’ll look at how to provide developer documentation.

Documenting Your Actions and Filters

It’s useful to document your WordPress plugin’s Actions and Filters, so that developers can quickly find what they need, as well as understand what each Action and Filter does.

Code Commenting

As developers, we’re quite comfortable with reviewing other people’s code to understand how something works. Adding DocBlock comments to our actions and filters is a great way to explain what a particular call does:

Continue reading %Making Your WordPress Plugins Even More Developer Friendly%


by Tim Carr via SitePoint

No comments:

Post a Comment