A while back, while working at the WordPress plugin course at Treehouse, I came across this awesome plugin from Daniel Convissor. The Object Oriented Plugin Template Solution plugin basically gives you an OO template for building your own WordPress plugin. I didn't end up using the template in the project, however, it was very helpful … Continue reading An Object Oriented Template for WordPress Plugins
Tag: Plugin Development
We Can Always Use a Good Review of WordPress Actions, Filters and Hooks ;)
Shout out to Tom for posting this article on "Understanding Events, Actions, and Filters" as part of the WPTuts "Using WordPress for Web Application Development" series. If you're new to WordPress plugin development, you definitely want to review this article.
A List of Commonly Unknown WP Function
Elliott from Laser Red wrote a round up of helpful WordPress functions that you don't usually read about: get_post_field wp_list_pluck antispambot checked/selected body_class human_time_diff wp_send_json_success/error wp_remote_get/post get_template_part If you're a WordPress dev, I really suggest you check out this article, because he gives an explanation and code example for each one of these in an a quick, … Continue reading A List of Commonly Unknown WP Function
A Great Series on WordPress Coding Standards
Thanks to core contributor, Tom McFarlin, for writing up this great series of posts on WP Tuts+ dissecting the recommended coding standards for WordPress theme and plugin development. The WordPress Coding Standards: An Introduction The WordPress Coding Standards: Naming Conventions and Function Arguments The WordPress Coding Standards: Single Quotes and Double Quotes The WordPress Coding … Continue reading A Great Series on WordPress Coding Standards
The Difference Between WordPress Filters and Actions
Thanks to Otto for making the difference between actions and filters clear: Filters filter things. Actions do not. And this is critically important when you’re writing a filter. A filter function should never, ever, have unexpected side effects. There, you go, pretty straightforward! He actually makes some really good, concise points about the difference between … Continue reading The Difference Between WordPress Filters and Actions
An Introduction Into WordPress Actions and Filters
Thanks to Gennady Kovshenin for the awesome, thorough article on WordPress Actions and Filters. I would say it gives you about everything you need to know. Thanks man!