Writing a WordPress Plugin From Scratch: A Step-by-Step Tutorial
This WordPress plugin development tutorial captures the steps I went through on a real project, including the mistakes I made and how I debugged them.
WordPress Template Tags: How They Show Post Content & More
WordPress template tags are a super-important and super-valuable part of WordPress, especially for theme development. They’re also one of the things I remember spending lots of time not quite getting as I was learning WordPress.
Off the Hook: Practical Uses of remove_action() and remove_filter()
Today’s article continues our discussion of WordPress’s Hooks system with a practical look at the direct opposite of add_action() and add_filter(): remove_action() and remove_filter().
Lesser-Known Features in WordPress 4.6
Drew Jaynes has a pretty neat post up about some features you may not have noticed in WordPress 4.6. I have to admit that I’d not been paying super close attentions to everyone’s release notes posts, but this stuff was almost completely new to me. The most significant to me (by far) of Drew’s list is the last:
Practical Uses of pre_get_posts
In WordPress, pre_get_posts is an action that makes it possible to modify an existing WP_Query, before that query is actually run. pre_get_posts offers some solutions that are more performant than writing a custom WP_Query, and enables solutions to other problems that would be quite difficult otherwise.
Adam Brown’s Hooks List
There’s not really a shortage of ways to find WordPress hooks, filters, functions, and more. It was actually Jeff Chandler’s story about Hookr.io — a new entrant into the field — that reminded me of this one which I remember from years ago. It’s not especially pretty, but it’s a deep resource that makes it easy to jump from a list of hooks to where they sit in the source once you get the hang of it.